Merge pull request #296 from nachtgeist/logging

logging: replace hard-coded number by PHP loglevel constant
This commit is contained in:
Michael Kaufmann
2016-02-18 10:08:55 +01:00

View File

@@ -110,7 +110,7 @@ class FroxlorLogger {
if (Settings::Get('logger.log_cron') == '0'
&& $action == CRON_ACTION
&& $type > 4 // warnings, errors and critical mesages WILL be logged
&& $type > LOG_WARNING // warnings, errors and critical mesages WILL be logged
) {
return;
}