aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Log.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-05-14 21:21:39 +0200
committerGravatar GitHub <noreply@github.com> 2020-05-14 21:21:39 +0200
commit11dd6e91b780bc218ecac540e1e9a8c426337930 (patch)
tree1955b159ca931dc339931832185dd8934241977f /lib/Minz/Log.php
parent65b55d2d581ee217d36424fc0d07743bc642eaa8 (diff)
Improve logs during cron actualization (#2964)
For https://github.com/FreshRSS/FreshRSS/issues/2952#issuecomment-626218921 And fix a little bug writing logs with the wrong user name
Diffstat (limited to 'lib/Minz/Log.php')
-rw-r--r--lib/Minz/Log.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Minz/Log.php b/lib/Minz/Log.php
index 3a45082f7..f67d16619 100644
--- a/lib/Minz/Log.php
+++ b/lib/Minz/Log.php
@@ -55,7 +55,8 @@ class Minz_Log {
$level_label = 'debug';
break;
default :
- $level_label = 'unknown';
+ $level = LOG_INFO;
+ $level_label = 'info';
}
$log = '[' . date('r') . ']'