<div dir="auto">ReqURL gets printed every time you set req.url, so unless you don't modify it, you will have multiple lines.<div dir="auto"><br></div><div dir="auto">To be fair, it looks like this is an issue with your log parser. Just ignore those lines if you've already seen one and you're done.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 1, 2019, 22:47 Hardik <<a href="mailto:hetardik.p@gmail.com">hetardik.p@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Team,<br><div><br></div><div>we can see ReqURL is getting printed twice in varnish shm and so in varnishlog. It is causing problems while processing this logs further. some time it is very big URL and have parse twice. Is it possible to make it print only once. or any other work around ?</div><div><br></div><div><div>** << Request >> 313464548</div><div>-- Begin req 313464547 rxreq</div><div>-- Timestamp Start: 1548836427.883183 0.000000 0.000000</div><div>-- Timestamp Req: 1548836427.883183 0.000000 0.000000</div><div>-- ReqStart 127.0.0.1 16962 a3</div><div>-- ReqMethod GET</div><div><b>-- ReqURL /abc/xyz/image.jpeg</b></div><div>-- ReqProtocol HTTP/1.1</div><div>-- ReqHeader X-Forwarded-For: x.x.x.x</div><div>-- ReqHeader Host: aaa</div><div>-- ReqHeader Connection: close</div><div>-- ReqHeader accept: */*</div><div>-- ReqHeader x-playback-session-id: xyz</div><div>-- ReqHeader user-agent: AppleCoreMedia/1.0.0.16C101 (iPhone; U; CPU OS 12_1_2 like Mac OS X; en_us)</div><div>-- ReqHeader accept-language: en-us</div><div>-- ReqHeader accept-encoding: identity</div><div>-- ReqHeader cookie: dtCookie==xyz</div><div>-- ReqUnset X-Forwarded-For: x.x.x.x</div><div>-- ReqHeader X-Forwarded-For: x.x.x.x, 127.0.0.1</div><div>-- VCL_call RECV</div><div>-- VCL_Log x-xid:313464548</div><div>-- VCL_Log req-source:Client</div><div><b>-- ReqURL /abc/xyz/image.jpeg</b></div><div>-- ReqHeader X-VCL-Host: aaa</div><div>-- VCL_Log checking aaa</div><div>-- ReqHeader aaa</div></div><div><br></div><div>Waiting for reply. Thank you in Advance.</div><div><br></div><div> - Hardik</div></div></div>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank" rel="noreferrer">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" rel="noreferrer noreferrer" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div>