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 2ed1fef

Browse filesBrowse files
bug #49843 [FrameworkBundle] Add missing monolog channel tag for messenger services (rmikalkenas)
This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle] Add missing monolog channel tag for messenger services | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 290c88e [FrameworkBundle] Add missing monolog channel tag for messenger services
2 parents 020f0f9 + 290c88e commit 2ed1fef
Copy full SHA for 2ed1fef

File tree

1 file changed

+2
-0
lines changed
Filter options

1 file changed

+2
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Resources/config/messenger.php
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@
140140
->args([
141141
service('logger')->ignoreOnInvalid(),
142142
])
143+
->tag('monolog.logger', ['channel' => 'messenger'])
143144

144145
->set('messenger.transport.beanstalkd.factory', BeanstalkdTransportFactory::class)
145146

@@ -197,6 +198,7 @@
197198
service('logger')->ignoreOnInvalid(),
198199
])
199200
->tag('kernel.event_subscriber')
201+
->tag('monolog.logger', ['channel' => 'messenger'])
200202

201203
->set('messenger.listener.stop_worker_on_stop_exception_listener', StopWorkerOnCustomStopExceptionListener::class)
202204
->tag('kernel.event_subscriber')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.