Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Diagnostics/EventLogger.php')
-rw-r--r--lib/private/Diagnostics/EventLogger.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Diagnostics/EventLogger.php b/lib/private/Diagnostics/EventLogger.php
index 35cef0be3f5..c7b89002ea9 100644
--- a/lib/private/Diagnostics/EventLogger.php
+++ b/lib/private/Diagnostics/EventLogger.php
@@ -60,7 +60,8 @@ class EventLogger implements IEventLogger {
}
public function isLoggingActivated(): bool {
- $systemValue = (bool)$this->config->getValue('diagnostics.logging', false);
+ $systemValue = (bool)$this->config->getValue('diagnostics.logging', false)
+ || (bool)$this->config->getValue('profiler', false);
if ($systemValue && $this->config->getValue('debug', false)) {
return true;