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
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
转载于:https://www.cnblogs.com/0xcafedaddy/p/6796427.html