在httpd.conf中修改ErrorLog和CustomLog的配置
ErrorLog "|E:/apache2.2/bin/rotatelogs.exe E:/apache2.2/logs/error_%Y_%m_%d.log 86400 480"
CustomLog "|E:/apache2.2/bin/rotatelogs.exe E:/apache2.2/logs/access_%Y_%m_%d.log 86400 480" common
ErrorLog "|E:/apache2.2/bin/rotatelogs.exe E:/apache2.2/logs/error_%Y_%m_%d.log 86400 480"
CustomLog "|E:/apache2.2/bin/rotatelogs.exe E:/apache2.2/logs/access_%Y_%m_%d.log 86400 480" common