Monolog log rotation for prod environment.

This commit is contained in:
Alexey Skobkin 2017-01-11 21:41:48 +03:00
parent 4c02e17595
commit a165c879cc

View file

@ -15,8 +15,9 @@ monolog:
action_level: error
handler: nested
nested:
type: stream
type: rotating_file
path: "%kernel.logs_dir%/%kernel.environment%.log"
max_files: 30
level: debug
console:
type: console