magnetico-web/config/packages/prod/monolog.yaml

21 lines
584 B
YAML
Raw Normal View History

2018-06-23 13:59:16 +00:00
monolog:
handlers:
main:
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"
level: debug
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine"]
sentry:
type: service
id: Sentry\Monolog\Handler