summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2015-02-04 12:15:40 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-02-16 18:05:43 +0100
commit87db136508f6599568eedf8f7696c6ebea4f56c1 (patch)
tree0e8ba0419671891d16d24a0e2df6e966db34f1a2 /lib/base.php
parent5a5d6bf4db0686c1e7b4ebeed0205547081a5d4c (diff)
downloadnextcloud-server-87db136508f6599568eedf8f7696c6ebea4f56c1.tar.gz
nextcloud-server-87db136508f6599568eedf8f7696c6ebea4f56c1.zip
add debug log for memcache instantiation
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 8a79d4624d8..db758958577 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -708,7 +708,8 @@ class OC {
$instanceId = \OC::$server->getSystemConfig()->getValue('instanceid', null);
if ($instanceId) {
try {
- $memcacheFactory = new \OC\Memcache\Factory($instanceId);
+ $memcacheFactory = new \OC\Memcache\Factory($instanceId,
+ \OC::$server->getLogger());
self::$loader->setMemoryCache($memcacheFactory->createLowLatency('Autoloader'));
} catch (\Exception $ex) {
}