Fix #436 Call to undefined method Logger::warning in i.php
Change log_lvl for release branch
This commit is contained in:
parent
de99e91b40
commit
eb1fb63128
2 changed files with 2 additions and 2 deletions
2
i.php
2
i.php
|
@ -88,7 +88,7 @@ function ierror($msg, $code)
|
||||||
}
|
}
|
||||||
// default url is on html format
|
// default url is on html format
|
||||||
$url = html_entity_decode($msg);
|
$url = html_entity_decode($msg);
|
||||||
$logger->warning($code . ' ' . $url, 'i.php', array(
|
$logger->debug($code . ' ' . $url, 'i.php', array(
|
||||||
'url' => $_SERVER['REQUEST_URI'],
|
'url' => $_SERVER['REQUEST_URI'],
|
||||||
));
|
));
|
||||||
header('Request-URI: '.$url);
|
header('Request-URI: '.$url);
|
||||||
|
|
|
@ -828,7 +828,7 @@ $conf['log_dir'] = '/logs';
|
||||||
|
|
||||||
// Log level (OFF, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG)
|
// Log level (OFF, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG)
|
||||||
// development = DEBUG, production = ERROR
|
// development = DEBUG, production = ERROR
|
||||||
$conf['log_level'] = 'DEBUG';
|
$conf['log_level'] = 'ERROR';
|
||||||
|
|
||||||
// Keep logs file during X days
|
// Keep logs file during X days
|
||||||
$conf['log_archive_days'] = 30;
|
$conf['log_archive_days'] = 30;
|
||||||
|
|
Loading…
Reference in a new issue