diff --git a/config.performance.php b/config.performance.php index db6125cdc0ff2af6a0bc7943f02cdda4fcfa92ab..303c0dcf5006bb1737ab28658ccf554a2ca414cf 100644 --- a/config.performance.php +++ b/config.performance.php @@ -10,7 +10,7 @@ /* Performance paramters can be configured to fine tune vtiger CRM runtime */ $PERFORMANCE_CONFIG = Array( // Enable Vtiger Log Level for debugging only if requried - 'LOGLEVEl_DEBUG' => false, + 'LOGLEVEL_DEBUG' => false, // Should the caller information be captured in SQL Logging? // It adds little overhead for performance but will be useful to debug diff --git a/modules/Vtiger/helpers/Logger.php b/modules/Vtiger/helpers/Logger.php index 9a8ac5e00f0f155eb14a41a1dde36773fb8a1d6d..d55d8387f6a17355bf968f46d7a77597d0fd8bd6 100644 --- a/modules/Vtiger/helpers/Logger.php +++ b/modules/Vtiger/helpers/Logger.php @@ -32,7 +32,7 @@ class Logger { if (!self::$initialized) { global $PERFORMANCE_CONFIG; // Check if the performance config is set and debug logging is enabled - if (isset($PERFORMANCE_CONFIG) && isset($PERFORMANCE_CONFIG['LOGLEVEl_DEBUG']) && $PERFORMANCE_CONFIG['LOGLEVEl_DEBUG']) { + if (isset($PERFORMANCE_CONFIG) && isset($PERFORMANCE_CONFIG['LOGLEVEL_DEBUG']) && $PERFORMANCE_CONFIG['LOGLEVEL_DEBUG']) { // Set the default log level to 100 and the log file path self::$logLevel = 100; self::$filePath = "logs/vtigercrm.log";