mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
do not log DEBUG by default
This commit is contained in:
parent
75a6eafef4
commit
0e64f8a7fc
|
@ -15,9 +15,10 @@ if($settings->_logFileEnable) {
|
|||
$logname = $settings->_contentDir."log/webdav-".$logname.".log";
|
||||
if(!file_exists($settings->_contentDir.'log'))
|
||||
@mkdir($settings->_contentDir.'log');
|
||||
if(file_exists($settings->_contentDir.'log') && is_dir($settings->_contentDir.'log'))
|
||||
if(file_exists($settings->_contentDir.'log') && is_dir($settings->_contentDir.'log')) {
|
||||
$log = Log::factory('file', $logname);
|
||||
else
|
||||
$log->setMask(Log::MAX(PEAR_LOG_INFO));
|
||||
} else
|
||||
$log = null;
|
||||
} else {
|
||||
$log = null;
|
||||
|
|
Loading…
Reference in New Issue
Block a user