Reg: printing ReqURL two times in varnishlog

Hardik hetardik.p at gmail.com
Sat Mar 2 08:43:48 UTC 2019


Hi  Team,

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 ?

**  << Request  >> 313464548
--  Begin          req 313464547 rxreq
--  Timestamp      Start: 1548836427.883183 0.000000 0.000000
--  Timestamp      Req: 1548836427.883183 0.000000 0.000000
--  ReqStart       127.0.0.1 16962 a3
--  ReqMethod      GET
*--  ReqURL          /abc/xyz/image.jpeg*
--  ReqProtocol    HTTP/1.1
--  ReqHeader      X-Forwarded-For: x.x.x.x
--  ReqHeader      Host: aaa
--  ReqHeader      Connection: close
--  ReqHeader      accept: */*
--  ReqHeader      x-playback-session-id: xyz
--  ReqHeader      user-agent: AppleCoreMedia/1.0.0.16C101 (iPhone; U; CPU
OS 12_1_2 like Mac OS X; en_us)
--  ReqHeader      accept-language: en-us
--  ReqHeader      accept-encoding: identity
--  ReqHeader      cookie: dtCookie==xyz
--  ReqUnset       X-Forwarded-For: x.x.x.x
--  ReqHeader      X-Forwarded-For: x.x.x.x, 127.0.0.1
--  VCL_call       RECV
--  VCL_Log        x-xid:313464548
--  VCL_Log        req-source:Client
*--  ReqURL         /abc/xyz/image.jpeg*
--  ReqHeader      X-VCL-Host: aaa
--  VCL_Log        checking aaa
--  ReqHeader      aaa

Waiting for reply. Thank you in Advance.

 - Hardik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20190302/98b893cc/attachment.html>


More information about the varnish-misc mailing list