aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}