Thanks for your help. My question was if i can get varnishlog and varnishncsa to syslog. I mentioned i was using syslog-ng as additional info in case it helped. It looks like i can daemonize varnishlog and varnishncsa and send stdout to a program like logger ( <a href="http://linux.about.com/library/cmd/blcmdl1_logger.htm">http://linux.about.com/library/cmd/blcmdl1_logger.htm</a>) which will send it to syslog and syslog-ng will pick that up. It may not be the best way to do it but it seems to work.<br>
<br>Thanks,<br><br>Drew<br><br><div class="gmail_quote">On Wed, Jun 29, 2011 at 1:59 PM, Per Buer <span dir="ltr"><<a href="mailto:perbu@varnish-software.com">perbu@varnish-software.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Jun 29, 2011 at 6:16 PM, Varnish List <span dir="ltr"><<a href="mailto:varnishlist@realvideosite.com" target="_blank">varnishlist@realvideosite.com</a>></span> wrote:<br></div><div class="gmail_quote">
<div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does anyone know if its possible to send the output of varnishlog and varnishncsa to syslog? I am using syslog-ng and would like to use the filters there to separate errors, and everything else into separate log files with regex via syslog-ng.conf.<br>
</blockquote><div><br></div></div><div>This is a syslog-ng question, not a varnish question. And I believe the question is "Can I pipe stdout from varnishlog or varnishncsa into syslog with syslog-ng?" and the answer, according to my googling is "no, but this is on the todo list" - see the syslog-ng FAQ for details.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Per.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br></blockquote></div><font color="#888888">-- <br><img src=""><div>
Per Buer, CEO<br>Phone: <a href="tel:%2B47%2021%2098%2092%2061" value="+4721989261" target="_blank">+47 21 98 92 61</a> / Mobile: <a href="tel:%2B47%20958%2039%20117" value="+4795839117" target="_blank">+47 958 39 117</a> / Skype: per.buer<br>
<i>Varnish makes websites fly!</i><div><a href="http://www.varnish-software.com/whitepapers" target="_blank">Whitepapers</a> | <a href="http://www.youtube.com/watch?v=x7t2Sp174eI" target="_blank">Video</a> | <a href="https://twitter.com/varnishsoftware" target="_blank">Twitter</a> <br>
<br></div></div><br>
</font></blockquote></div><br>