varnishncsa and virtual hosts

Anders Nordby anders at fupp.net
Fri Jul 25 15:18:04 CEST 2008


Hi,

I'm using an ugly cron-based work-aroud. ;-) Seems to work ok. But yes,
I'd appreciate very much if we could write separate logs for different
virtual hosts. Preferably, even without running one instance of
varnishncsa for every log.

On Fri, Jul 25, 2008 at 04:44:28AM -0500, Raymond Hall wrote:
> I've run through pretty much all posts regarding separating
> varnishncsa's output per hosts, as requested in RxHeader.
> So far, no one has posted a reliable solution ... if only varnishlog
> accepted both -o and -w ... or varnishncsa RxHeader worked... :)
> No use redirecting varnishlog -o -c RxHeader '^Host: www.example.com'
> to a fifo and ther asking varnishncsa to read from it.
> 
> Has anyone found a reliable solution to this? (ie. other than
> resorting to ugly cron-based workarounds....)
> I'm using varnish-2.0-tp2
> 
> TIA,
> Ray
> 
> -- 
> I'd rather have an inch of a dog than miles of pedigree.
> 
> Dana Burnet
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at projects.linpro.no
> http://projects.linpro.no/mailman/listinfo/varnish-misc


-- 
Anders.



More information about the varnish-misc mailing list