diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2020-02-14 14:21:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 14:21:09 +0100 |
commit | 6a1ba818f5cd0553fb1dc2ef49d6717b64bb07bf (patch) | |
tree | 2cc873ca76ddda792d2b609d289b091d2f01f280 | |
parent | c7b7ee66cf679ef30c0151a55bdb8a489bd1eeac (diff) | |
parent | b11f5a09158a0645fa1bf5ae364cf892a139bae0 (diff) | |
download | nextcloud-server-6a1ba818f5cd0553fb1dc2ef49d6717b64bb07bf.tar.gz nextcloud-server-6a1ba818f5cd0553fb1dc2ef49d6717b64bb07bf.zip |
Merge pull request #19477 from nextcloud/bug/flow-log-level
Reduce flow logging at INFO level, move to DEBUG
-rw-r--r-- | apps/workflowengine/lib/Service/Logger.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Service/Logger.php b/apps/workflowengine/lib/Service/Logger.php index 8b90e6fa159..dee09cc0aa4 100644 --- a/apps/workflowengine/lib/Service/Logger.php +++ b/apps/workflowengine/lib/Service/Logger.php @@ -59,7 +59,7 @@ class Logger { public function logFlowRequests(LogContext $logContext) { $message = 'Flow activation: rules were requested for operation {op}'; - $context = ['op' => $logContext->getDetails()['operation']['name']]; + $context = ['op' => $logContext->getDetails()['operation']['name'], 'level' => ILogger::DEBUG]; $logContext->setDescription('Flow activation: rules were requested'); @@ -80,6 +80,7 @@ class Logger { $context = [ 'op' => $logContext->getDetails()['operation']['name'], 'config' => $logContext->getDetails()['configuration'], + 'level' => ILogger::DEBUG, ]; $logContext->setDescription('Flow rule qualified to run'); @@ -113,6 +114,7 @@ class Logger { $message = 'No flow configurations is going to run {op}'; $context = [ 'op' => $logContext->getDetails()['operation']['name'], + 'level' => ILogger::DEBUG, ]; $logContext->setDescription('No flow configurations is going to run'); @@ -125,6 +127,7 @@ class Logger { $context = [ 'ev' => $logContext->getDetails()['eventName'], + 'level' => ILogger::DEBUG, ]; $logContext->setDescription('Flow activated by event'); |