monolog:
- channels:
+ channels: # To see all channels, run bin/console debug:autowiring logger
- deprecation # Deprecations are logged in the dedicated "deprecation" channel when it exists
when@dev:
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
channels: ["!event"]
- # uncomment to get logging in your browser
- # you may have to allow bigger header sizes in your Web server configuration
- #firephp:
- # type: firephp
- # level: info
- #chromephp:
- # type: chromephp
- # level: info
console:
type: console
process_psr_3_messages: false
action_level: error
handler: nested
excluded_http_codes: [404, 405]
+ channels: ["!deprecation"]
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
]
},
"symfony/monolog-bundle": {
- "version": "3.10",
+ "version": "4.1",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "3.7",
- "ref": "aff23899c4440dd995907613c1dd709b6f59503f"
+ "ref": "feb8fd9520b5694c7d0d2ba17fd4b4d33f9dd9cf"
},
"files": [
"config/packages/monolog.yaml"