项目作者: touchdesign
项目描述 :
Rotate log files.
高级语言: PHP
项目地址: git://github.com/touchdesign/logrotate-bundle.git
Logrotate bundle
Install
composer require touchdesign/logrotate-bundle
Usage
bin/console touch:logrotate:rotate /var/log/example.log [--keep=5]
bin/console touch:logrotate:purge /var/log/example.log
Can easily configured by EnvVars:
LOGROTATE_KEEP=3 # Number of log file to keep, default is 3