mirror of
https://github.com/symfony/recipes.git
synced 2026-09-12 07:36:30 +03:00
[monolog-bundle] log deprecations by default, in a dedicated log file
This commit is contained in:
@@ -15,3 +15,11 @@ monolog:
|
||||
type: console
|
||||
process_psr_3_messages: false
|
||||
channels: ["!event", "!doctrine"]
|
||||
deprecation:
|
||||
type: stream
|
||||
path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
|
||||
deprecation_filter:
|
||||
type: filter
|
||||
handler: deprecation
|
||||
max_level: info
|
||||
channels: ["php"]
|
||||
|
||||
Reference in New Issue
Block a user