Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(log): Fix log level handling
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot[bot] committed Jan 27, 2025
commit e78cec5d7b7ef7cdbaa6fc55d430f500a6e30cf8
1 change: 1 addition & 0 deletions lib/private/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ public function getLogLevel(array $context, string $message): int {
if (!isset($logCondition['matches'])) {
$configLogLevel = $this->config->getValue('loglevel', ILogger::WARN);
if (is_numeric($configLogLevel)) {
$this->nestingLevel--;
return min((int)$configLogLevel, ILogger::FATAL);
}

Expand Down
Loading