From: Brad Jorsch Date: Wed, 6 Jul 2016 21:19:25 +0000 (-0400) Subject: Log the session cache type along with other cache types X-Git-Tag: 1.31.0-rc.0~6441^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=c666d7403816f5b8cf334312faccd3c8a15aa9d7;p=lhc%2Fweb%2Fwiklou.git Log the session cache type along with other cache types We already log the types of the main, WAN, stash, message, and parser caches. For debugging, it would be useful to log the session cache too instead of having to guess that it's probably the same as the main cache. Change-Id: I13e6c0f7f430f96be50d543a32c232f0c36dcd72 --- diff --git a/includes/Setup.php b/includes/Setup.php index 587793218f..cb1bd716bf 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -690,7 +690,9 @@ wfDebugLog( 'caches', ', WAN: ' . $wgMainWANCache . ', stash: ' . $wgMainStash . ', message: ' . get_class( $messageMemc ) . - ', parser: ' . get_class( $parserMemc ) ); + ', parser: ' . get_class( $parserMemc ) . + ', session: ' . get_class( ObjectCache::getInstance( $wgSessionCacheType ) ) +); Profiler::instance()->scopedProfileOut( $ps_memcached );