Skip to content

Commit 68b2f19

Browse files
committed
[FrameworkBundle] Add missing monolog channel tag to the messenger:failed:retry command
1 parent 16626db commit 68b2f19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Resources/config/console.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,10 @@
181181
abstract_arg('Receivers'),
182182
service('messenger.routable_message_bus'),
183183
service('event_dispatcher'),
184-
service('logger'),
184+
service('logger')->nullOnInvalid(),
185185
])
186186
->tag('console.command')
187+
->tag('monolog.logger', ['channel' => 'messenger'])
187188

188189
->set('console.command.messenger_failed_messages_show', FailedMessagesShowCommand::class)
189190
->args([

0 commit comments

Comments
 (0)