monolog: set prod logs to log file

This commit is contained in:
dece 2024-09-01 22:25:17 +02:00
parent 2cb767229f
commit f94a594409

View file

@ -48,7 +48,7 @@ when@prod:
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
nested:
type: stream
path: php://stderr
path: "%kernel.logs_dir%/%kernel.environment%.log"
level: debug
formatter: monolog.formatter.json
console: