summaryrefslogtreecommitdiffstats
path: root/lib/private/Diagnostics
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-05-12 16:33:34 +0200
committerJoas Schilling <coding@schilljs.com>2024-07-30 13:18:09 +0200
commit710a69b4b5c81262da3c2f4efff10a87356598d0 (patch)
treed4bebe834292cfcdce94e0058e0b9d65f1201c7f /lib/private/Diagnostics
parent21f558b12bdb985ec312ac8973f2be9c0d73f824 (diff)
downloadnextcloud-server-710a69b4b5c81262da3c2f4efff10a87356598d0.tar.gz
nextcloud-server-710a69b4b5c81262da3c2f4efff10a87356598d0.zip
feat(log): Allow to combine log.conditions to only log (app&user)
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private/Diagnostics')
-rw-r--r--lib/private/Diagnostics/EventLogger.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Diagnostics/EventLogger.php b/lib/private/Diagnostics/EventLogger.php
index 11c59b9227a..40cbd3e9e5d 100644
--- a/lib/private/Diagnostics/EventLogger.php
+++ b/lib/private/Diagnostics/EventLogger.php
@@ -48,7 +48,7 @@ class EventLogger implements IEventLogger {
return true;
}
- $isDebugLevel = $this->internalLogger->getLogLevel([]) === Log::DEBUG;
+ $isDebugLevel = $this->internalLogger->getLogLevel([], '') === Log::DEBUG;
return $systemValue && $isDebugLevel;
}