mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Merge pull request #50460 from nextcloud/backport/50455/stable30
[stable30] fix(log): Fix log level handling
This commit is contained in:
commit
458856b2f8
1 changed files with 1 additions and 0 deletions
|
|
@ -275,6 +275,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…
Reference in a new issue