Separate deprecation logs into a dedicated handler and adjust console log level to error
This commit is contained in:
@@ -29,9 +29,15 @@ monolog:
|
||||
type: stream
|
||||
path: "%kernel.logs_dir%/default-%log_prefix%.log"
|
||||
level: info
|
||||
channels: [ '!event', '!doctrine', '!console', '!chill', '!deprecation']
|
||||
channels: [ '!event', '!doctrine', '!console', '!chill' ]
|
||||
deprecation_log:
|
||||
type: stream
|
||||
path: "%kernel.logs_dir%/deprecation-%log_prefix%.log"
|
||||
level: info
|
||||
channels: [ 'deprecation' ]
|
||||
console:
|
||||
type: console
|
||||
process_psr_3_messages: false
|
||||
channels: [ '!event', '!doctrine', '!console']
|
||||
level: error
|
||||
channels: [ '!event', '!doctrine', '!console', '!deprecation']
|
||||
bubble: true
|
||||
|
||||
Reference in New Issue
Block a user