sun 发表于 2015-6-3 16:05:06

限制Apache日志access.log以及error.log文件大小

#http.conf每天生成一个文件
   

    #CustomLog "D:/wamp/logs/%Y_%m_%d.access.log" common   原配置
    CustomLog "|D:/wamp/bin/apache/Apache2.2.21/bin/rotatelogs.exe D:/wamp/logs/%Y_%m_%d.access.log 86400 480" common

    #

页: [1]
查看完整版本: 限制Apache日志access.log以及error.log文件大小