Index: branches/5.3.x/core/kernel/utility/logger.php =================================================================== diff -u -N -r15957 -r15962 --- branches/5.3.x/core/kernel/utility/logger.php (.../logger.php) (revision 15957) +++ branches/5.3.x/core/kernel/utility/logger.php (.../logger.php) (revision 15962) @@ -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]);