In message <[email protected]>, 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
[email protected]         | 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
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to