This repository has been archived on 2024-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
pflaenz.li-Symfony/config/packages/prod/monolog.yaml

22 lines
664 B
YAML
Raw Normal View History

2021-04-22 15:04:36 +02:00
monolog:
handlers:
main:
type: fingers_crossed
action_level: error
handler: nested
excluded_http_codes: [404, 405]
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
path: php://stderr
level: debug
formatter: monolog.formatter.json
console:
type: console
process_psr_3_messages: false
channels: ["!event", "!doctrine"]
2022-01-17 17:00:15 +01:00
file:
type: stream
path: "%kernel.logs_dir%/%kernel.environment%.log"
2022-01-17 17:35:41 +01:00
level: warning