mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
Using new excluded_http_codes
This commit is contained in:
@@ -4,9 +4,7 @@ monolog:
|
||||
type: fingers_crossed
|
||||
action_level: error
|
||||
handler: nested
|
||||
excluded_404s:
|
||||
# regex: exclude all 404 errors from the logs
|
||||
- ^/
|
||||
excluded_http_codes: [404, 405]
|
||||
nested:
|
||||
type: stream
|
||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||
|
||||
Reference in New Issue
Block a user