aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <contact@git.strangeplanet.fr>2016-03-10 19:28:32 +0100
committermistic100 <contact@git.strangeplanet.fr>2016-03-10 19:33:57 +0100
commiteb1fb6312850f210e85ca1c0e866dd8ddadf9e21 (patch)
tree01363c10fdbd8fb11f09ca64dc85c0e9cd1d9b57
parentde99e91b40ff1c9cdae7747f83f372a9078349d1 (diff)
Fix #436 Call to undefined method Logger::warning in i.php
Change log_lvl for release branch
-rw-r--r--i.php2
-rw-r--r--include/config_default.inc.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/i.php b/i.php
index 6be12888b..8b3e89bcd 100644
--- a/i.php
+++ b/i.php
@@ -88,7 +88,7 @@ function ierror($msg, $code)
}
// default url is on html format
$url = html_entity_decode($msg);
- $logger->warning($code . ' ' . $url, 'i.php', array(
+ $logger->debug($code . ' ' . $url, 'i.php', array(
'url' => $_SERVER['REQUEST_URI'],
));
header('Request-URI: '.$url);
diff --git a/include/config_default.inc.php b/include/config_default.inc.php
index 91d620edb..87baa29ab 100644
--- a/include/config_default.inc.php
+++ b/include/config_default.inc.php
@@ -828,7 +828,7 @@ $conf['log_dir'] = '/logs';
// Log level (OFF, CRITICAL, ERROR, WARNING, NOTICE, INFO, DEBUG)
// development = DEBUG, production = ERROR
-$conf['log_level'] = 'DEBUG';
+$conf['log_level'] = 'ERROR';
// Keep logs file during X days
$conf['log_archive_days'] = 30;