Public bug reported:

Binary package hint: varnish

# apt-cache policy varnish
varnish:
  Installed: 1.1.2

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.

** Affects: varnish (Ubuntu)
     Importance: Undecided
         Status: New

-- 
No varnishncsa init script [intrepid]
https://bugs.launchpad.net/bugs/277558
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to