Skip to content

Commit 0dce45f

Browse files
committed
monolog-bundle: reconfigure deprecation handler
1 parent ea6ade9 commit 0dce45f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# As of Symfony 5.1, deprecations are logged in the dedicated "deprecation" channel when it exists
2+
#monolog:
3+
# channels:
4+
# - deprecation

symfony/monolog-bundle/3.7/config/packages/prod/deprecations.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

symfony/monolog-bundle/3.7/config/packages/prod/monolog.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ monolog:
1515
type: console
1616
process_psr_3_messages: false
1717
channels: ["!event", "!doctrine"]
18+
# deprecation:
19+
# type: stream
20+
# channels: [deprecation]
21+
# path: php://stderr

0 commit comments

Comments
 (0)