diff options
author | Joas Schilling <coding@schilljs.com> | 2025-01-27 05:05:17 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-01-27 10:23:28 +0000 |
commit | e78cec5d7b7ef7cdbaa6fc55d430f500a6e30cf8 (patch) | |
tree | 906405052ae4cded4a7a72e804c155cd34a8a0ad | |
parent | 46c4013b519d0f8402bd3998735e0592bc2e78d3 (diff) | |
download | nextcloud-server-e78cec5d7b7ef7cdbaa6fc55d430f500a6e30cf8.tar.gz nextcloud-server-e78cec5d7b7ef7cdbaa6fc55d430f500a6e30cf8.zip |
fix(log): Fix log level handlingbackport/50455/stable31
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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); } |