varnishlog and multiple tags?

Flavio Torres fla_torres at yahoo.com.br
Fri Jul 16 23:04:24 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/16/2010 05:03 PM, Ken Brownfield wrote:
> True, but perhaps cleaner:
>
> varnishlog -i RxURL -I /imgs/aba_frente_esq.jpg
>
> Hi Chris,
>
> Try with awk or perl regexp.
>
> varnishlog -o |awk 'BEGIN { FS="n"; RS=""} {if
> (/RxURL.*\/imgs\/aba_frente_esq\.jpg/) print }'


Yeah, but in 'awk' way I can see entire block if pattern match. It's
useful to me, to debug objects with MISS/Cookie (-o -c option -
(/RxURL.*enquete_br\.js$/m and /VCL_call.*miss/) )  or something like
else... ;)


Regards


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxAyVMACgkQNRQApncg2969FgCgsViG589Rz+ha4GmCQ/YztU+l
XMQAn0KV5AObjibUV5FNhc2SHogxUwmU
=trVk
-----END PGP SIGNATURE-----






More information about the varnish-misc mailing list