Skip to content

Commit fd5338c

Browse files
committed
Allow the logger to be null (as per every other bits in the FrameworkBundle)
1 parent 266befb commit fd5338c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/config/messenger.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
<!-- Logging & Debug -->
5454
<service id="messenger.middleware.debug.logging" class="Symfony\Component\Messenger\Debug\LoggingMiddleware">
55-
<argument type="service" id="logger" />
55+
<argument type="service" id="logger" on-invalid="null" />
5656

5757
<tag name="messenger.bus_middleware" priority="10" />
5858
<tag name="monolog.logger" channel="messenger" />

0 commit comments

Comments
 (0)