Skip to content

Commit 32f22e0

Browse files
bug symfony#52707 [HttpKernel] Fix logging deprecations to the "php" channel when channel "deprecation" is not defined (nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- [HttpKernel] Fix logging deprecations to the "php" channel when channel "deprecation" is not defined | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix symfony#52672 | License | MIT Commits ------- 4bc6567 [HttpKernel] Fix logging deprecations to the "php" channel when channel "deprecation" is not defined
2 parents 1199090 + 4bc6567 commit 32f22e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/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)