From c666d7403816f5b8cf334312faccd3c8a15aa9d7 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Wed, 6 Jul 2016 17:19:25 -0400 Subject: [PATCH] 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 --- includes/Setup.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ); -- 2.20.1