diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-02-14 14:00:22 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-02-14 14:00:22 +0300 |
commit | b11f5a09158a0645fa1bf5ae364cf892a139bae0 (patch) | |
tree | 2197997bfbd929a2a7bc32f9be368753ae3f635c /apps | |
parent | f39786660cccaf96f7d1ef2a72e030ccb456be8b (diff) |
Reduce flow logging at INFO level
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-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'); |