From e78cec5d7b7ef7cdbaa6fc55d430f500a6e30cf8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 27 Jan 2025 05:05:17 +0100 Subject: fix(log): Fix log level handling Signed-off-by: Joas Schilling --- lib/private/Log.php | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3