Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f57faf3

Browse filesBrowse files
committed
bug #50944 [FrameworkBundle] Add missing monolog channel tag to the messenger:failed:retry command (HypeMC)
This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle] Add missing monolog channel tag to the `messenger:failed:retry` command | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Noticed this while working on #50787, similar to #49843. Commits ------- 8f30c1e [FrameworkBundle] Add missing monolog channel tag to the `messenger:failed:retry` command
2 parents b899365 + 8f30c1e commit f57faf3
Copy full SHA for f57faf3

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/console.php
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.