varnishlog 2.1.5 record limit

Thiago Figueiro TFigueiro at au.westfield.com
Thu Feb 23 05:21:40 CET 2012


I'm using varnishlog (2.1.5) to help diagnose a production issue.  Specifically, I want to see the Cookie header from the client request:

   76 RxHeader     c Cookie: __utmc=54987508; 90374957_clogin=l=1329292359&v=1&e=1329294317271; s_cc=true
; s_sq=%5B%5BB%5D%5D; session_start_time=1329292261764; __utmz=54987508.1329292460.1.1.utmcsr=(direct)|ut
mccn=(direct)|utmcmd=(none); CoreID6=30738140851313292923591&ci=90


All Cookies I investigated are suspiciously 250 bytes long.

It seems that varnishlog truncates headers when writing to the binary log.

Yep, it does truncate it... Google fu:

https://www.varnish-cache.org/trac/ticket/528

I am now in a situation where I can't determine what happened because I don't have enough information.  I can't replicate the issue because I don't know who the customer was.

What would be the down-side of saving entire headers by default?  Any chances of re-opening that case as a change request?


Thanks

____________________________
Thiago Figueiró
Technical Operations Manager
Digital Business
P +61 (0)2 9358 7123
F +61 (0)2 9028 8500



______________________________________________________
    CONFIDENTIALITY NOTICE    
This electronic mail message, including any and/or all attachments, is for the sole use of the intended recipient(s), and may contain confidential and/or privileged information, pertaining to business conducted under the direction and supervision of the sending organization. All electronic mail messages, which may have been established as expressed views and/or opinions (stated either within the electronic mail message or any of its attachments), are left to the sole responsibility of that of the sender, and are not necessarily attributed to the sending organization. Unauthorized interception, review, use, disclosure or distribution of any such information contained within this electronic mail message and/or its attachment(s), is (are) strictly prohibited. If you are not the intended recipient, please contact the sender by replying to this electronic mail message, along with the destruction all copies of the original electronic mail message (along with any attachments).
______________________________________________________


More information about the varnish-misc mailing list