December 18, 2009

split apache access log files

Often we come across huge Apache access.log files in the
web hosting servers. This is neither rotated nor split up
daily. Recently I saw an access.log file that was 200 MB in size!

Vlogger is a little tool with which you can write Apache logs broken
down by virtual hosts and days. With vlogger, we need to put just
one CustomLog directive into our global Apache configuration, and
it will write access logs for each virtual host and day.

apt-cache show vlogger
apt-get install vlogger

No comments:

Post a Comment