Updated log visibility

In particular, ensure that ERROR is only used for errors that may affect
FreshRSS integrity, and ensure that feed errors are visible also in
production, i.e. visibility of WARNING
https://github.com/FreshRSS/FreshRSS/issues/885
https://github.com/FreshRSS/FreshRSS/issues/884
This commit is contained in:
Alexandre Alapetite committed 2015-07-03 23:47:18 +02:00
1 parent dcadf0dfdf
commit 079150eee4
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -253,7 +253,7 @@ class FreshRSS_auth_Controller extends Minz_ActionController {
FreshRSS_Auth::giveAccess();
invalidateHttpCache();
} else {
Minz_Log::error($reason);
Minz_Log::warning($reason);
$res = array();
$res['status'] = 'failure';