antarctican

1.  Access日志按时间分段存储。 

httpd.conf 改 customlog 行,

windows 下写法

#CustomLog logs/access.log common
CustomLog "|bin/rotatelogs.exe -l logs/access/%Y_%m_%d.log 86400" common

Linux写法参照官网,官网仅给出了 Linux 的写法。

分类:

技术点:

相关文章: