Commit 911e49757ab81569e7f6c07b50ccf008eb595e71
1 parent
14e90b08
Merged in from DEV trunk...
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/STABLE/trunk@7016 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 | 122 | $default->phpErrorLog =& Log::factory('composite'); |
| 123 | 123 | |
| 124 | 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 | 126 | $default->phpErrorLog->addChild($fileLog); |
| 127 | 127 | } |
| 128 | 128 | ... | ... |