nginx-我陷入了logrotate之谜

nginx-我陷入了logrotate之谜

我有两个logrotate文件:/etc/logrotate.d/nginx-size/var/log/nginx/*.log /var/log/www/nginx/50x.log { missingok rotate 3 size 2G dateext compress compresscmd /usr/

linux下logrotate配置和理解—转

linux下logrotate配置和理解—转

http://os.51cto.com/art/200912/167478_all.htm对于Linux 的系统安全来说,日志文件是极其重要的工具。系统管理员可以使用logrotate 程序用来管理系