fix(log): Fix log level handling

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/50455/head
Joas Schilling 8 months ago
parent 29724ff27e
commit 0ba2913a95
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
  1. 1
      lib/private/Log.php

@ -271,6 +271,7 @@ class Log implements ILogger, IDataLogger {
if (!isset($logCondition['matches'])) {
$configLogLevel = $this->config->getValue('loglevel', ILogger::WARN);
if (is_numeric($configLogLevel)) {
$this->nestingLevel--;
return min((int)$configLogLevel, ILogger::FATAL);
}

Loading…
Cancel
Save