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
This commit is contained in:
Brad Jorsch 2016-07-06 17:19:25 -04:00
parent 7ade0a7c67
commit c666d74038

View file

@ -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 );