This one time, at band camp, 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 > >suggestions and useful scripts welcomed
logrotate which comes with most distributions does this all automagically. Put all your access logs from the vhosts into log/httpd/access_logs/$domain_log and tell logrotate about the directory; get it to run webalizer or whatever you like. -- [EMAIL PROTECTED] http://spacepants.org/jaq.gpg -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
