varnishtop hangs

Cryer,Phil Phil.Cryer at
Wed Jan 9 17:35:58 CET 2008

>>and on localhost. Varnish runs on port 80 and on the public ip. While 
>>checking the access.log of lighttpd. The webrequests are shown to come
>>I would like to know wht configruation changes are required in varnish

>>to log the remote client ip in access.log.

>Varnish sends a header "X-Forwarded-for:" to lightttpd which it should
use in the logfile.  You need 
>to check the lighttpd config how to enable that.

In your lighttpd.conf, add:

accesslog.format = "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b
\"%{Referer}i\" \"%{User-Agent}i\""

Thanks for bringing this up, I finally got around to fixing it!

 If you are not the intended recipient of this message (including attachments), or if you have received this message in error, immediately notify us and delete it and any attachments.  If you no longer wish to receive e-mail from Edward Jones, please send this request to messages at  You must include the e-mail address that you wish not to receive e-mail communications.  For important additional information related to this e-mail, visit

More information about the varnish-misc mailing list