在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
*rotatelogs.exe的路径换成自已的绝对路径
*自定义日志处理后,进程中会多出几个rotatelogs.exe和cmd.exe,占用不少内存,有待解决。

 

相关文章:

  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2021-12-10
  • 2021-08-12
  • 2021-01-24
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
相关资源
相似解决方案