so I can't "To log to syslog "? I find the varnish maybe miss to
process some url.I want to more detail about the varnish process by the
log.<br>In my varnish and backend server ,some request back from the
backend server to client , from the HTTP response Head, there are no
sign marked by the varnish .there should be some options marked by the
varnish ,like X-Cache :"HIT" or "MISS".<br>
even though in the varnishlog output , there are nothing about there urls.<br><br><div class="gmail_quote">2009/11/12 Ken Brownfield <span dir="ltr"><<a href="mailto:kb%2Bvarnish@slide.com">kb+varnish@slide.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="word-wrap: break-word;">varnishd -f /path/to/your/config.vcl -C<div><br></div><div>
This will compile your VCL into C and emit it to stdout.  It will show prototypes for all of the VRT interface accessible from VCL, the structs representing your backend(s) and director(s), and the config itself.  The wiki is a little misleading (and -C isn't otherwise documented AFAIK): it's not a document per se, but it's extremely useful when writing inline C -- hunting down VRT definitions in the code is no fun.<br>
<div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Minion Pro'; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
-- </div><div>Ken</div></span><font color="#888888">
</font></div><div><div></div><div class="h5">





<br><div><div>On Nov 11, 2009, at 7:19 PM, I I wrote:</div><br><blockquote type="cite">In the web of official varnish ,<a href="http://varnish.projects.linpro.no/wiki/VCLExampleSyslog" target="_blank">http://varnish.projects.linpro.no/wiki/VCLExampleSyslog</a><br>
there is some C variable names used in VCL.but when I type the command "varnishd -C",nothing return .and when I enter the website command to the VCL,error return like this<br>
"Running C-compiler failed, exit 1<br>VCL compilation failed"<br>what I neet to prepare for  this  ?<br></blockquote></div><br></div></div></div></div></blockquote></div><br>