Merge pull request #19481 from nextcloud/backport/19477/stable18
[stable18] Reduce flow logging at INFO level, move to DEBUG
This commit is contained in:
commit
1e62541a15
1 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Logger {
|
||||||
|
|
||||||
public function logFlowRequests(LogContext $logContext) {
|
public function logFlowRequests(LogContext $logContext) {
|
||||||
$message = 'Flow activation: rules were requested for operation {op}';
|
$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');
|
$logContext->setDescription('Flow activation: rules were requested');
|
||||||
|
|
||||||
|
@ -80,6 +80,7 @@ class Logger {
|
||||||
$context = [
|
$context = [
|
||||||
'op' => $logContext->getDetails()['operation']['name'],
|
'op' => $logContext->getDetails()['operation']['name'],
|
||||||
'config' => $logContext->getDetails()['configuration'],
|
'config' => $logContext->getDetails()['configuration'],
|
||||||
|
'level' => ILogger::DEBUG,
|
||||||
];
|
];
|
||||||
|
|
||||||
$logContext->setDescription('Flow rule qualified to run');
|
$logContext->setDescription('Flow rule qualified to run');
|
||||||
|
@ -113,6 +114,7 @@ class Logger {
|
||||||
$message = 'No flow configurations is going to run {op}';
|
$message = 'No flow configurations is going to run {op}';
|
||||||
$context = [
|
$context = [
|
||||||
'op' => $logContext->getDetails()['operation']['name'],
|
'op' => $logContext->getDetails()['operation']['name'],
|
||||||
|
'level' => ILogger::DEBUG,
|
||||||
];
|
];
|
||||||
|
|
||||||
$logContext->setDescription('No flow configurations is going to run');
|
$logContext->setDescription('No flow configurations is going to run');
|
||||||
|
@ -125,6 +127,7 @@ class Logger {
|
||||||
|
|
||||||
$context = [
|
$context = [
|
||||||
'ev' => $logContext->getDetails()['eventName'],
|
'ev' => $logContext->getDetails()['eventName'],
|
||||||
|
'level' => ILogger::DEBUG,
|
||||||
];
|
];
|
||||||
|
|
||||||
$logContext->setDescription('Flow activated by event');
|
$logContext->setDescription('Flow activated by event');
|
||||||
|
|
Loading…
Reference in a new issue