Logging

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Jul 10 22:51:08 CEST 2006


In message <76814.1152558893 at critter.freebsd.dk>, "Poul-Henning Kamp" writes:

>>	-i tag[,tag...] -- include these tags
>>	-x tag[,tag...] -- exclude these tags
>>
>>		If no -i option is given a '-i all' is implict.
>>
>>	-I regexp -- only data matching regexp
>>	-X regexp -- exclude data matching regexp
>>
>>	-C match regexps case-insensitive
>
>I just realized that having these options would speed up my
>analyses of the logs from the live test, so I'll implement
>them right away...

Done.

Now things like:

	zcat /critter/_vlog21.gz | ./varnishlog -r - -i url -I %

works, and it's a bit faster than grep'ing on my laptop.


-- 
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-dev mailing list