[Varnish] #485: Virtualhost logging for varnishncsa
Varnish
varnish-bugs at projects.linpro.no
Thu Feb 18 20:17:21 CET 2010
#485: Virtualhost logging for varnishncsa
---------------------------------------------------------+------------------
Reporter: rhalff | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: varnishncsa | Version: trunk
Severity: normal | Resolution:
Keywords: varnishncsa, virtual hosts, apache, logging |
---------------------------------------------------------+------------------
Comment (by omero):
I've posted an updated version of the patch.
rhalff first version was nice, but just ADDED the vhost in front of the
usual NCSA/vhost lighttpd format.
Instead I wanted varnishncsa to produce EXACTLY the same format as
standard lighttpd.access.log, so I hacked it a bit.
Awstats configuration for this log format (which is the same as lighttpd
default)
LogFormat = "%host %virtualname %logname %time1 %methodurl %code %bytesd
%refererquot %uaquot")
Enjoy, perfectly working on my FreeBSD box.
--
Ticket URL: <http://varnish-cache.org/ticket/485#comment:2>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list