nginx日志access.log error.log按天生成存储,定时删除日志

 


 

logrotate

https://linux.cn/article-4126-1.html

http://blog.csdn.net/forthemyth/article/details/44062529

 

 


 

日志切割:

  logrotate -vf /etc/logrotate.conf 

  access.log-20170502

 

相关文章: