Commit 507f5deb515e30ab8c9d47fd4beaa262cec2e3f4

Authored by kevin_fourie
1 parent 26f41f5e

KTS-2234

"PHP error log does not consider log level"
Fixed.

Committed By: Kevin Fourie
Reviewed By: Conrad Vermeulen

git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7015 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 1 additions and 1 deletions
config/dmsDefaults.php
@@ -122,7 +122,7 @@ class KTInit { @@ -122,7 +122,7 @@ class KTInit {
122 $default->phpErrorLog =& Log::factory('composite'); 122 $default->phpErrorLog =& Log::factory('composite');
123 123
124 if ($default->phpErrorLogFile) { 124 if ($default->phpErrorLogFile) {
125 - $fileLog =& Log::factory('file', $oKTConfig->get('urls/logDirectory') . '/php_error_log', 'KT'); 125 + $fileLog =& Log::factory('file', $oKTConfig->get('urls/logDirectory') . '/php_error_log', 'KT', array(), $logLevel);
126 $default->phpErrorLog->addChild($fileLog); 126 $default->phpErrorLog->addChild($fileLog);
127 } 127 }
128 128