httpd.conf中CustomLog logs/access.log common 改成
CustomLog "|c:/apache/bin/rotatelogs c:/apache/logs/%Y_%m_%d.access.log 86400 480" common
重启Apache
其中c:/apache/是你安装apache的路径这样每一天生成一个日志文件
更多内容请看PCdog.com--Access开发专题
来源: 作者: 2007-11-10 出处:pcdog.com
httpd.conf中CustomLog logs/access.log common 改成
CustomLog "|c:/apache/bin/rotatelogs c:/apache/logs/%Y_%m_%d.access.log 86400 480" common
重启Apache
其中c:/apache/是你安装apache的路径这样每一天生成一个日志文件