<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">True, but perhaps cleaner:<br><div><br></div><div>varnishlog -i RxURL -I /imgs/aba_frente_esq.jpg</div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Minion Pro'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Minion Pro'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Minion Pro'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>-- </div><div>Ken</div></div></span></div></span></span>
</div>
<br><div><div>On Jul 16, 2010, at 12:46 PM, Flavio Torres wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div text="#000000" bgcolor="#ffffff">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
On 07/16/2010 08:00 AM, Chris Hecker wrote:<br>
<span style="white-space: pre;">> <br>
> varnishlog -i TxUrl is really useful, but I'd also like it to<br>
> output the TxHeader Host: entry, since I'm using varnish for<br>
> multiple sites. Is that possible with the -i, -I, and -o
options?<br>
> I couldn't figure it out, if so.</span><br>
<br>
<br>
Hi Chris,<br>
<br>
Try with awk or perl regexp.<br>
<br>
varnishlog -o |awk 'BEGIN { FS="n"; RS=""} {if<br>
(/RxURL.*\/imgs\/aba_frente_esq\.jpg/) print }'<br>
<br>
<br>
hope this helps<br>
<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a class="moz-txt-link-freetext" href="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</a><br>
<br>
iEYEARECAAYFAkxAtxUACgkQNRQApncg294JdwCgs9p9poidxfcGefjOJ+lW7ETv<br>
oi8AoIyTmJ0djy1Dn7QFY58605KubxWb<br>
=R8EV<br>
-----END PGP SIGNATURE-----<br>
<br>
</div>
_______________________________________________<br>varnish-misc mailing list<br><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>http://lists.varnish-cache.org/mailman/listinfo/varnish-misc</blockquote></div><br></div></body></html>