Part-DB.Part-DB-server/config/packages/demo/monolog.yaml
Jan Böhmer 368645f0cb Added an environment for the demo
In this environment the exception are logged to stderr, so we can access it via heroku.
2019-08-10 17:20:23 +02:00

23 lines
671 B
YAML

monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
excluded_http_codes: [404, 405]
nested:
type: stream
path: "php://stderr"
level: debug
console:
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"]