gaute at pht.no
Tue Jun 19 13:41:38 CEST 2007
On Thursday 29 March 2007 18:56, Dag-Erling Smørgrav wrote:
> 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.
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/varnishncsa -c -a -w /var/log/httpd/varnish_combined-access_log &
More information about the varnish-misc