aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2025-01-27 11:21:11 +0100
committerGitHub <noreply@github.com>2025-01-27 11:21:11 +0100
commite6598519e42990a1a4d53531468a50cb3c091f2c (patch)
tree61a28660095107e2c516ec3339902eebc2ddee66
parente03b9ce5d2f45b0e0b4dbbfc4c53a28fe0546402 (diff)
parent0ba2913a95e26a484afc2779831d8dbf72004134 (diff)
downloadnextcloud-server-e6598519e42990a1a4d53531468a50cb3c091f2c.tar.gz
nextcloud-server-e6598519e42990a1a4d53531468a50cb3c091f2c.zip
Merge pull request #50455 from nextcloud/bugfix/50443/fix-log-level-handling
fix(log): Fix log level handling
-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);
}