Allard Hoeve <all...@byte.nl> writes:

> 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.

That's true. Bash, variables and interpolating the quoting of quoted
quotation marks is problematic.

> 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 :)

I'll give it a shot. If I can't get it to work properly, I'll have to,
as the politicians say, "revisit the issue". :)

-- 
Stig Sandbeck Mathisen <s...@debian.org>

Attachment: pgpG5oKuudzMP.pgp
Description: PGP signature

Reply via email to