Index: branches/5.2.x/core/kernel/utility/logger.php =================================================================== diff -u -N -r16434 -r16435 --- branches/5.2.x/core/kernel/utility/logger.php (.../logger.php) (revision 16434) +++ branches/5.2.x/core/kernel/utility/logger.php (.../logger.php) (revision 16435) @@ -1,6 +1,6 @@ _debugMode = $this->Application->isDebugMode(); - $this->setState(isset($vars['EnableSystemLog']) ? $vars['EnableSystemLog'] : self::STATE_DISABLED); - $this->_maxLogLevel = isset($vars['SystemLogMaxLevel']) ? (int)$vars['SystemLogMaxLevel'] : self::LL_NOTICE; + $this->setState($system_config->get('EnableSystemLog', self::STATE_DISABLED)); + $this->_maxLogLevel = $system_config->get('SystemLogMaxLevel', self::LL_NOTICE); foreach ($methods_to_call as $method_to_call) { call_user_func_array(Array ($this, $method_to_call[0]), $method_to_call[1]);