mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fix(log): Fix log level handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
29724ff27e
commit
0ba2913a95
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