diff options
author | Joas Schilling <coding@schilljs.com> | 2025-01-27 05:05:17 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2025-01-27 05:05:17 +0100 |
commit | 0ba2913a95e26a484afc2779831d8dbf72004134 (patch) | |
tree | 7c29d073a6022eb8697e070adda81998b99c4d8b /lib | |
parent | 29724ff27e9377f52a5d97a6944523522004e1ce (diff) | |
download | nextcloud-server-0ba2913a95e26a484afc2779831d8dbf72004134.tar.gz nextcloud-server-0ba2913a95e26a484afc2779831d8dbf72004134.zip |
fix(log): Fix log level handlingbugfix/50443/fix-log-level-handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Log.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Log.php b/lib/private/Log.php index 55e41134692..746e4d75b91 100644 --- a/lib/private/Log.php +++ b/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); } |