-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 07/16/2010 08:00 AM, Chris Hecker wrote:
>
> varnishlog -i TxUrl is really useful, but I'd also like it to
> output the TxHeader Host: entry, since I'm using varnish for
> multiple sites. Is that possible with the -i, -I, and -o options?
> I couldn't figure it out, if so.
Hi Chris,
Try with awk or perl regexp.
varnishlog -o |awk 'BEGIN { FS="n"; RS=""} {if
(/RxURL.*\/imgs\/aba_frente_esq\.jpg/) print }'
hope this helps
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxAtxUACgkQNRQApncg294JdwCgs9p9poidxfcGefjOJ+lW7ETv
oi8AoIyTmJ0djy1Dn7QFY58605KubxWb
=R8EV
-----END PGP SIGNATURE-----
_______________________________________________
varnish-misc mailing list
[email protected]
http://lists.varnish-cache.org/mailman/listinfo/varnish-misc