logging statements in vcl

Frank van Lingen frank at vanlingen.name
Sat Jan 9 01:32:45 CET 2010


Yeah I noticed that google tracking sets some cookies. After I removed
the tracking script the hit ratio went up.
--------------------------------------------
Frank van Lingen
email : frank at vanlingen.name
VOIP (skype) : fvlingen
IM (yahoo,hotmail) : fvlingen
IM (AIM) : frank at vanlingen.name
URL : http://vanlingen.name
LinkedIn : fvlingen
-------------------------------------------



On Fri, Jan 8, 2010 at 11:10 PM, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
> In message <458a97201001081354s50a74935o2a2d36a8dab44007 at mail.gmail.com>, Frank
>  van Lingen writes:
>>Hello,
>>
>>I recently started to use varnish. The installation with the default
>>vcl starts without problems.
>>
>>However if I turn varnish logging on It seems to cache nothing (I see
>>only 'pass' and 'deliver'  statements).
>>
>>Is there a way to add logging statements in the vcl file that will be
>>displayed when I turn on varnish logging? I was not able to find
>>anything about this on the varnish pages. It would help analyzing the
>>vcl configurations.
>
> Set the "vcl_trace" parameter, that will add logging entries for
> every branch taken in your VCL.
>
> The number 1 case of not caching is cookies.
>
> Poul-Henning
>
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
>



More information about the varnish-misc mailing list