copypaste2/config/packages/prod/monolog.yaml

26 lines
767 B
YAML
Raw Normal View History

2015-03-02 16:59:13 +00:00
monolog:
handlers:
main:
2019-01-20 02:50:09 +00:00
type: fingers_crossed
2015-03-02 16:59:13 +00:00
action_level: error
2019-01-20 02:50:09 +00:00
handler: nested
excluded_404s:
# regex: exclude all 404 errors from the logs
- ^/
2015-03-02 16:59:13 +00:00
nested:
2019-01-20 02:50:09 +00:00
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
2015-03-02 16:59:13 +00:00
level: debug
console:
2019-01-20 02:50:09 +00:00
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine"]
deprecation:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.deprecations.log"
deprecation_filter:
type: filter
handler: deprecation
max_level: info
channels: ["php"]