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
|
buffer_size: 50 # How many messages should be saved? Prevent memory leaks
|
||||||
nested:
|
nested:
|
||||||
type: stream
|
type: stream
|
||||||
path: php://stderr
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
level: debug
|
level: debug
|
||||||
formatter: monolog.formatter.json
|
formatter: monolog.formatter.json
|
||||||
console:
|
console:
|
||||||
|
|
Loading…
Reference in a new issue