cronolog 설치
1. cronolog 내려받기
wget http://cronolog.org/download/cronolog-1.6.2.tar.gz
2. cronolog 설치
[root@byungun cronolog-1.6.2]# ./configure --prefix=/usr/local/cronolog
[root@byungun cronolog-1.6.2]# make && make install
3. cronolog 링크
[root@byungun cronolog-1.6.2]# ln -s /usr/local/cronolog/sbin/cronolog /usr/sbin/cronolog
4. cronolog 설정(httpd.conf)
ErrorLog "|/usr/sbin/cronolog /var/logs/byungun.com-error-%Y%m%d.log"
TransferLog "|/usr/sbin/cronolog /var/logs/byungun.com-access-%Y%m%d.log"
댓글
댓글 쓰기