mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-28 22:09:32 +00:00
Updated symfony/monolog-bridge recipes.
This commit is contained in:
parent
41baf47096
commit
38028fcfc5
3 changed files with 10 additions and 11 deletions
8
config/packages/prod/deprecations.yaml
Normal file
8
config/packages/prod/deprecations.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# 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: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
|
||||
|
|
@ -14,13 +14,3 @@ monolog:
|
|||
type: console
|
||||
process_psr_3_messages: false
|
||||
channels: ["!event", "!doctrine"]
|
||||
|
||||
# Uncomment to log deprecations
|
||||
#deprecation:
|
||||
# type: stream
|
||||
# path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
|
||||
#deprecation_filter:
|
||||
# type: filter
|
||||
# handler: deprecation
|
||||
# max_level: info
|
||||
# channels: ["php"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue