Monolog log rotation for prod environment.
This commit is contained in:
parent
4c02e17595
commit
a165c879cc
|
@ -15,8 +15,9 @@ monolog:
|
||||||
action_level: error
|
action_level: error
|
||||||
handler: nested
|
handler: nested
|
||||||
nested:
|
nested:
|
||||||
type: stream
|
type: rotating_file
|
||||||
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
path: "%kernel.logs_dir%/%kernel.environment%.log"
|
||||||
|
max_files: 30
|
||||||
level: debug
|
level: debug
|
||||||
console:
|
console:
|
||||||
type: console
|
type: console
|
||||||
|
|
Loading…
Reference in a new issue