Package: varnish
Version: 1.1.2
Severity: minor

Copying from
https://bugs.launchpad.net/ubuntu/+source/varnish/+bug/277558
:

There already is a init script for varnishlog (
http://linux.die.net/man/1/varnishlog ) to save the varnish log to a file.

But there is no init script for varnishncsa (
http://linux.die.net/man/1/varnishncsa ).
varnishncsa produces apache-style logs, these are much more useful
because one can use standard logfile analysis tools (awstats f.x.).

The command line arguments for both are very similar: Varnishlog accepts
a superset of varnishncsa's arguments - but the varnishlog init script
only uses the common ones.
The varnishlog init script can be used for varnishncsa with slight
modifications.

I attach a diff of the neccessary changes.
The only non-obvious change is the addition of the -c switch.
Without this switch, varnishncsa also logs varnish accessing the backend
webserver. For an apache-style log, you obviously want to see only
clients accessing the proxy.


diff_varnishlog_varnishncsa.txt  (684 bytes, text/plain)
http://launchpadlibrarian.net/18160068/diff_varnishlog_varnishncsa.txt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to