Monolog log rotation in dev environment.

This commit is contained in:
Alexey Skobkin 2017-01-09 04:07:27 +03:00
parent bf6cf9cbda
commit 2f4a83d366

View file

@ -14,8 +14,9 @@ web_profiler:
monolog: monolog:
handlers: handlers:
main: main:
type: stream type: rotating_file
path: "%kernel.logs_dir%/%kernel.environment%.log" path: "%kernel.logs_dir%/%kernel.environment%.log"
max_files: 5
level: debug level: debug
channels: [!event] channels: [!event]
console: console: