Multiple log files for one instance

Justin Pasher justinp at
Wed Sep 15 19:33:58 CEST 2010

----- Original Message -----
> From: Michael Alger <varnish at>
> Date: Wed, 15 Sep 2010 11:11:09 +0800
> Subject: Re: Multiple log files for one instance
> To: varnish-misc at
> I do this by writing a single log, and then splitting it every hour
> into the relevant individual logs. This might not be the most
> optimum way of doing it, but it was the easiest way to convert from
> our squid setup (where squid itself logged to multiple logfiles)
> without interfering with all my other scripts.
> ...
> If you'd like to take this approach I can provide you with the
> scripts I'm using; written in Bash for the basic file handling and
> Perl for the log splitter. The limitation which will potentially hit
> you is my splitter script has a configuration section which defines
> which hostnames map to which logfile, with everything not explicitly
> matched going to a generic logfile.

That sounds like something I can make work. If you don't mind, could you 
send your scripts over? That will save me a little time from throwing 
something together. Thanks.

Justin Pasher

More information about the varnish-misc mailing list