mirror of
https://github.com/symfony/recipes.git
synced 2026-09-20 19:46:52 +03:00
monolog-bundle: reconfigure deprecation handler
This commit is contained in:
committed by
Roland Franssen
parent
ea6ade9061
commit
0dce45fb19
@@ -0,0 +1,4 @@
|
|||||||
|
# As of Symfony 5.1, deprecations are logged in the dedicated "deprecation" channel when it exists
|
||||||
|
#monolog:
|
||||||
|
# channels:
|
||||||
|
# - deprecation
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
# As of Symfony 5.1, deprecations are logged in the dedicated "deprecation" channel when it exists
|
|
||||||
#monolog:
|
|
||||||
# channels: [deprecation]
|
|
||||||
# handlers:
|
|
||||||
# deprecation:
|
|
||||||
# type: stream
|
|
||||||
# channels: [deprecation]
|
|
||||||
# path: php://stderr
|
|
||||||
@@ -15,3 +15,7 @@ monolog:
|
|||||||
type: console
|
type: console
|
||||||
process_psr_3_messages: false
|
process_psr_3_messages: false
|
||||||
channels: ["!event", "!doctrine"]
|
channels: ["!event", "!doctrine"]
|
||||||
|
# deprecation:
|
||||||
|
# type: stream
|
||||||
|
# channels: [deprecation]
|
||||||
|
# path: php://stderr
|
||||||
Reference in New Issue
Block a user