mirror of
https://github.com/nextcloud/server.git
synced 2026-07-15 21:03:00 -04:00
Merge pull request #50461 from nextcloud/backport/50455/stable31
[stable31] fix(log): Fix log level handling
This commit is contained in:
commit
39cb18de4f
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue