On Thursday 29 March 2007 18:56, Dag-Erling Smørgrav wrote:
<snip>
> No, you have to run varnishlog and / or varnishncsa yourself to
> capture the logs to a file.  For the next release, I will work with
> the packagers to make sure binary packages ship with an init script
> which starts varnishlog.
>
> DES

Did you ever get around to writing that init script?
If not, how would you recommend going about it?

Adding it to /etc/init.d/varnish, or perhaps a separate initscript?

This would be the bare necessities I guess?

/usr/bin/nohup \
/usr/bin/varnishncsa -c -a -w /var/log/httpd/varnish_combined-access_log &

Regards

Gaute Amundsen
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to