Updated monolog recipe

This commit is contained in:
Jan Böhmer 2025-11-30 14:51:56 +01:00
parent 070ce800d5
commit 3dc66542b2
2 changed files with 4 additions and 11 deletions

View file

@ -10,14 +10,6 @@ when@dev:
path: "%kernel.logs_dir%/%kernel.environment%.log" path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug level: debug
channels: ["!event"] 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: console:
type: console type: console
process_psr_3_messages: false process_psr_3_messages: false
@ -45,6 +37,7 @@ when@prod:
action_level: error action_level: error
handler: nested handler: nested
excluded_http_codes: [404, 405] excluded_http_codes: [404, 405]
channels: ["!deprecation"]
buffer_size: 50 # How many messages should be saved? Prevent memory leaks buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested: nested:
type: stream type: stream

View file

@ -550,15 +550,15 @@
"version": "v4.4.2" "version": "v4.4.2"
}, },
"symfony/monolog-bundle": { "symfony/monolog-bundle": {
"version": "3.10", "version": "3.11",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "3.7", "version": "3.7",
"ref": "aff23899c4440dd995907613c1dd709b6f59503f" "ref": "1b9efb10c54cb51c713a9391c9300ff8bceda459"
}, },
"files": [ "files": [
"./config/packages/monolog.yaml" "config/packages/monolog.yaml"
] ]
}, },
"symfony/options-resolver": { "symfony/options-resolver": {