<div class="gmail_quote"><div>Hello Stig,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The init script is already using the variable DAEMON_OPTS in<br>
/etc/default/*. I've added an example in /etc/default/varnishncsa, and<br>
documented it a bit better, which will be included in 3.0.2-3.<br></blockquote><div><br></div><div>Thanks for the response.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


There is value in being able to set the log format as a separate<br>
variable, but in the interest of keeping the init script simple, I think<br>
I'll pass on this.<br></blockquote><div><br></div><div>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.</div><div><br>


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


<div><br></div><div><br></div><div>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 :)</div><div><br></div>


<div><br></div><div>Thanks for the timely reply!</div><div><br></div><div>Allard Hoeve</div></div>