session: Add debug message for the used store class
[lhc/web/wiklou.git] / includes / session / SessionManager.php
index a3380ff..79193d6 100644 (file)
@@ -177,6 +177,7 @@ final class SessionManager implements SessionManagerInterface {
                } else {
                        $store = \ObjectCache::getInstance( $this->config->get( 'SessionCacheType' ) );
                }
+               $this->logger->debug( 'SessionManager using store ' . get_class( $store ) );
                $this->store = $store instanceof CachedBagOStuff ? $store : new CachedBagOStuff( $store );
 
                register_shutdown_function( [ $this, 'shutdown' ] );