varnishlog not behaving as expected (by me)

Poul-Henning Kamp phk at
Wed Feb 3 12:57:25 CET 2010

In message <4B6960DA.6080300 at>, Alex Hooper writes:

>>   /usr/local/bin/varnishlog -o RxURL "^wp-admin$"

This says you want to *O*mit all RxURL lines.  The regexp argument
should have generated an argument error.

What you want is probably:

	varnishlog -i RxURL -I "^wp-admin$"

Ie: Include (only) RxURL lines, which match this regexp.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list