Skip to content

Commit 8f30c1e

Browse files
committed
[FrameworkBundle] Add missing monolog channel tag to the messenger:failed:retry command
1 parent 8e93517 commit 8f30c1e

File tree

1 file changed

+2
-1
lines changed
  • src/Symfony/Bundle/FrameworkBundle/Resources/config

1 file changed

+2
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/console.php

+2-1
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)