Ignoring 404 errors in the production logs by default

This commit is contained in:
Ryan Weaver
2017-11-17 07:39:26 -06:00
committed by GitHub
parent 65f82ab479
commit a90e4fb5ed
@@ -4,6 +4,9 @@ monolog:
type: fingers_crossed
action_level: error
handler: nested
excluded_404s:
# regex: exclude all 404 errors from the logs
- ^/
nested:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"