Skip to content

Commit 14597ec

Browse files
[HttpKernel] Fix logging deprecations to the "php" channel when channel "deprecation" is not defined
1 parent 4eeac66 commit 14597ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/config/debug_prod.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
param('debug.error_handler.throw_at'),
2727
param('kernel.debug'),
2828
param('kernel.debug'),
29-
service('logger')->nullOnInvalid(),
29+
null, // Deprecation logger if different from the one above
3030
])
3131
->tag('kernel.event_subscriber')
3232
->tag('monolog.logger', ['channel' => 'php'])

0 commit comments

Comments
 (0)