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"]
|
2020-01-20 17:01:51 +00:00
|
|
|
sentry:
|
|
|
|
type: service
|
|
|
|
id: Sentry\Monolog\Handler
|