![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Logrotate
木偶跳舞
个人博客
展开
-
Logrotate日志切割报错 文件不再同一个用户组下
分割日志时报错::error: skipping "/var/log/nginx/test.access.log" because parentdirectory has insecure permissions (It's world writable or writable bygroup which is not "root") Set "su" directive in config f转载 2017-12-08 17:43:11 · 7665 阅读 · 0 评论 -
logrotate 配置
1、以ph和nginx 为例:cd /etc/logrotate.dvim php/alidata/log/php/*.log { daily rotate 30 dateext create compress sharedscripts postrotate ...原创 2018-01-24 16:35:50 · 413 阅读 · 0 评论