[Pkg-varnish-devel] Bug#657449: Bug#657449: Any verdict? :)

Allard Hoeve allard at byte.nl
Wed May 23 08:40:48 UTC 2012


Hello Stig,


> The init script is already using the variable DAEMON_OPTS in
> /etc/default/*. I've added an example in /etc/default/varnishncsa, and
> documented it a bit better, which will be included in 3.0.2-3.
>

Thanks for the response.


> There is value in being able to set the log format as a separate
> variable, but in the interest of keeping the init script simple, I think
> I'll pass on this.
>

While the DAEMON_OPTS variable is there and can be used for simple options
passed to the varnish daemon, this is hell for something like logformats.

Most custom logformats want the request in the log. Apache-style logs have
double-quotes all over the place. Bash interpolation of -F and the
following format is also problematic for the common user. I couldn't get it
to work and I took two hours :) I can keep this patch in my private
repository, but I'm sure I'm not the only struggling user.


Can you give an example setting the custom format to something with quotes?
Maybe I'm missing something or maybe my understanding of bash falls short
if the mark :)


Thanks for the timely reply!

Allard Hoeve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-varnish-devel/attachments/20120523/fd21e59a/attachment.html>


More information about the Pkg-varnish-devel mailing list