摘要: 配置文件格式 [root@yu ~]# cat /etc/logrotate.d/nginx /usr/local/openresty/nginx/logs/*.log { #指定你要切割的文件 daily #每天 rotate 7 #最多保留多少个切割后的日志. missingok #如果对应日志 阅读全文
posted @ 2022-11-28 14:12 ForLivetoLearn 阅读(58) 评论(0) 推荐(0) 编辑