一、下載下傳
wget http://cronolog.org/download/cronolog-1.6.2.tar.gz
二、安裝
./configure && make && make install
cd /usr/local/sbin/
./cronolog -h
三、配置
1、修改httpd.conf
TransferLog "|/usr/sbin/cronolog /var/log/%Y%m%d.log"
ErrorLog "|/usr/sbin/cronolog /var/log/%Y%m%d-errors.log"