[PATCH] support for multiple -o arguments to varnish tools

Tollef Fog Heen tfheen at varnish-software.com
Wed Apr 27 10:32:29 CEST 2011


The following patch allows multiple -o arguments to varnishlog,
varnishncsa, varnishhist and varnishsizes.  The format is -o tag:regex
which will only count a transaction if it matches all the -o
parameters.

Feedback is most welcome, in particular I wonder if -o is a good choice
or if we should go with -m(atch) or somtheing similar.  -o is also
somewhat confusing since some people think it means -o(r)

Comments on the implementation is welcome too, of course.

Regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: multiple_o_support.diff
Type: text/x-diff
Size: 19701 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20110427/c3edf7a0/attachment-0003.diff>
-------------- next part --------------
-- 
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64


More information about the varnish-dev mailing list