aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-01-27 05:05:17 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-01-27 10:22:20 +0000
commit241c9f348d4166329be73920e94661b61adce3b0 (patch)
tree9c2d85ab79449fd6ae6ee576f93ca0a535198415
parent11f85702e8673e03c2f02bd834f3c78cfcd6628e (diff)
downloadnextcloud-server-backport/50455/stable30.tar.gz
nextcloud-server-backport/50455/stable30.zip
fix(log): Fix log level handlingbackport/50455/stable30
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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 e2b732473c2..d7283b53a43 100644
--- a/lib/private/Log.php
+++ b/lib/private/Log.php
@@ -275,6 +275,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);
}