Uncommon logger levels in Friendica (#5453)
* "normal" is an uncommon logger level: - changed LOGGER_NORMAL -> LOGGER_INFO - added LOGGER_WARNING (a common logger level) * Used constants instead of values (MrPetovan)
This commit is contained in:
committed by
Hypolite Petovan
parent
a202962f03
commit
c17adaf333
@@ -61,7 +61,7 @@ class DBStructure
|
||||
|
||||
// No valid result?
|
||||
if (!DBM::is_result($adminlist)) {
|
||||
logger(sprintf('Cannot notify administrators about update_id=%d, error_message=%s', $update_id, $error_message), LOGGER_NORMAL);
|
||||
logger(sprintf('Cannot notify administrators about update_id=%d, error_message=%s', $update_id, $error_message), LOGGER_INFO);
|
||||
|
||||
// Don't continue
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user