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
1 changed files with 2 additions and 1 deletions

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