8000 bug #49843 [FrameworkBundle] Add missing monolog channel tag for mess… · symfony/symfony@2ed1fef · GitHub
[go: up one dir, main page]

Skip to content

Commit 2ed1fef

Browse 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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines 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