aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-01-27 05:05:17 +0100
committerJoas Schilling <coding@schilljs.com>2025-01-27 05:05:17 +0100
commit0ba2913a95e26a484afc2779831d8dbf72004134 (patch)
tree7c29d073a6022eb8697e070adda81998b99c4d8b /lib
parent29724ff27e9377f52a5d97a6944523522004e1ce (diff)
downloadnextcloud-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.php1
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);
}