On Fri, 2003-07-18 at 09:57, Voytek Eymont wrote:
> I'm setting up Apache 1.3x with name vhost and I need to set up log
> handling for all vhosts; basically, I'd like to is:
>
> process yesterday's logs to resolve IP addresses;
> gzip yesterday's logs (is bzip2 what should be used instead of gzip ?);
> have logs saved with some sort of dd-mm-yy
>
I have always used chronolog for that.
My vhost logs are like this :
CustomLog "|/usr/sbin/cronolog
/var/log/apache/prince-of-darkness.com/%Y/%m/%d/access.log" combined
ErrorLog "|/usr/sbin/cronolog
/var/log/apache/prince-of-darkness.com/%Y/%m/%d/errors.log"
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug