http://cronolog.org/download/index.html 에서 최신버전을 다운받는다.
wget http://cronolog.org/download/cronolog-1.6.2.tar.gz (현재 최신버전은 1.6.2)
tar xvfzp cronolog-1.6.2.tar.gz
cd cronolog-1.6.2
./configure --prefix=/usr/local/cronolog
make
make install
vi /etc/httpd/conf/httpd.conf
#
# For a single logfile with access, agent, and referer information
# (Combined Logfile Format), use the following directive:
#
CustomLog "|/usr/local/cronolog/sbin/cronolog /var/www/logs/%Y/%m/%d/access_log_www" combined env=!do_not_log
[root@kowww001 08]# pwd
/var/www/logs/2006/05/08
[root@kowww001 08]# ls
access_log_www