摘要: 在httpd.conf中找到这两项ErrorLog logs/error_logCustomLog logs/access_log common替换成ErrorLog "| /usr/sbin/rotatelogs /var/log/httpd/%Y_%m_%d_error_log 86400 480"CustomLog "| /usr/sbin/rotatelogs /var/log/httpd/%Y_%m_%d_access_log 86400 480" commonrotatelogs是apache的一个日志分割的一个软件,centos里路径是/u 阅读全文
posted @ 2013-09-24 09:13 nestfly 阅读(173) 评论(0) 推荐(0) 编辑