Operation of varnish
Ivan Voras
ivoras at fer.hr
Thu Apr 19 13:25:16 CEST 2007
Poul-Henning Kamp wrote:
> If "pipe" is chosen, Varnish just moves bytes forth and back.
>
> In the "trunk" version of varnish, everything else is fully buffered.
> In the released versions, up to 1.0.3, "pass" mode will not do full
> buffing, but fetches to cache will.
>
>> Can varnish generate HTTP logs in the "combined" format.
>
> Pointer to documentation ?
From Apache's httpd.conf, it is defined as:
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
Documentation about the substitution codes and meaning is at:
http://httpd.apache.org/docs/2.2/logs.html
>> If I
>> understand this correctly, varnish would generate its own logs, and then
>> the apache could generate its own log, but apche's will show every=20
>> connection as arriving from 127.0.0.1, right?
>
> I'm not sure if Apache logs the tcp source address or the HTTP header
> client IP# in the logs.
You mean "Forwarded-For:" header?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20070419/8b4e6f07/attachment-0002.pgp>
More information about the varnish-misc
mailing list