monolog: set prod logs to log file
This commit is contained in:
parent
2cb767229f
commit
f94a594409
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue