mirror of
https://github.com/friendica/friendica
synced 2025-04-22 11:50:11 +00:00
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:
parent
a202962f03
commit
c17adaf333
7 changed files with 29 additions and 25 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue