[Pkg-varnish-devel] Bug#657449: varnishncsa: please add a config option to allow a custom logging format (patch)

Allard Hoeve allard at byte.nl
Thu Jan 26 11:36:48 UTC 2012


Package: varnish
Severity: wishlist
Tags: patch

Dear Maintainers,

I use a custom logging format that resembles our Apache logs (which also use a
custom format).

Please find a patch attached that adds an option to /etc/default/varnishncsa
that allows the admin to specify a custom format.

It also patches the init script to add the -F flag and the custom format if it
is given, otherwise it does not give the -F flag at all.


Please apply,
Thanks,

Allard Hoeve



-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnishncsa-custom-logformat.patch
Type: text/x-diff
Size: 1420 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-varnish-devel/attachments/20120126/5c959779/attachment.patch>


More information about the Pkg-varnish-devel mailing list