Upgrade recipes: symfony/monolog-bundle

This commit is contained in:
2023-09-06 12:14:53 +02:00
parent d2717b0875
commit cd876bd889
6 changed files with 68 additions and 49 deletions

View File

@@ -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: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"

View File

@@ -25,6 +25,7 @@ monolog:
id: monolog.gelf_handler
level: info
channels: ['!event', '!php']
excluded_http_codes: [404, 405]
console:
type: console