Hello Nathan,<div>So I tried that and no output even reading from file</div><div><br></div><div>varnishlog -w /tmp/varnishlog.log // This writes</div><div><br></div><div>varnishncsa -r /tmp/varnishlog // No output</div><div>
<br><div class="gmail_quote">On Wed, Mar 13, 2013 at 12:56 PM, Nathan Kinkade <span dir="ltr"><<a href="mailto:nkinkade@creativecommons.org" target="_blank">nkinkade@creativecommons.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Have you tried using the -r option to make varnishncsa read from a<br>
file instead of shared memory? It could be one way to help narrow<br>
down the problem. In our setup varnishlog logs to<br>
/var/log/varnish/varnish.log, so I can always use:<br>
<br>
# varnishncsa -r /var/log/varnish/varnish.log<br>
<br>
... this effectively gives me the same output as varnishncsa without<br>
any options.<br>
<br>
Nathan<br>
<div><div class="h5"><br>
On Tue, Mar 12, 2013 at 8:04 PM, Juan Andrade <<a href="mailto:juanandrade1@gmail.com">juanandrade1@gmail.com</a>> wrote:<br>
> Varnishlog works fine but varnishncsa does not output anything. Also tried<br>
> std.syslog but messages are empty<br>
><br>
> Here is my config:<br>
><br>
> sub vcl_recv {<br>
> if (req.http.host) {<br>
> std.syslog(191, "vcl_recv(" + req.xid + ") Req: " +<br>
> req.request + " http://" + req.http.host +<br>
> req.url + " " + req.proto);<br>
> set req.backend = stage;<br>
> }<br>
> }<br>
><br>
> Log messages: No message as set above<br>
> 2013-03-12T16:55:23.725466-07:00 stage-cache1 varnishd[10191]:<br>
> 2013-03-12T16:56:43.413369-07:00 stage-cache1 varnishd[10530]:<br>
><br>
> Running varnish version<br>
> varnishd (varnish-trunk revision 5582b35)<br>
><br>
> Anybody run into this problem? Thanks for any help.<br>
><br>
> Juan<br>
><br>
</div></div>> _______________________________________________<br>
> varnish-misc mailing list<br>
> <a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote></div><br></div>