Re: logging statements in vcl

2010-01-08 Thread Poul-Henning Kamp
In message 458a97201001081354s50a74935o2a2d36a8dab44...@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
p...@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.
___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc


Re: logging statements in vcl

2010-01-08 Thread Frank van Lingen
Yeah I noticed that google tracking sets some cookies. After I removed
the tracking script the hit ratio went up.

Frank van Lingen
email : fr...@vanlingen.name
VOIP (skype) : fvlingen
IM (yahoo,hotmail) : fvlingen
IM (AIM) : fr...@vanlingen.name
URL : http://vanlingen.name
LinkedIn : fvlingen
---



On Fri, Jan 8, 2010 at 11:10 PM, Poul-Henning Kamp p...@phk.freebsd.dk wrote:
 In message 458a97201001081354s50a74935o2a2d36a8dab44...@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
 p...@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.

___
varnish-misc mailing list
varnish-misc@projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc