[prev in list] [next in list] [prev in thread] [next in thread]
List: varnish-misc
Subject: varnishlog and multiple tags?
From: fla_torres () yahoo ! com ! br (Flavio Torres)
Date: 2010-07-16 21:04:24
Message-ID: 4C40C958.9030901 () yahoo ! com ! br
[Download RAW message or body]
-----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-----
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic