varnishncsa -F question
Mit Rowe
mit at stagename.com
Fri Sep 2 18:22:54 CEST 2011
Hello!
I am using varnish 3.0.1 and have a question about varnishncsalog
I would like to spit out extra parameters in my logs, so i'm attempting to
use the -F command line flag.
However, my need for spaces seems to be causing some problems.
for example...
-F %h %t
(which i don't expect to work)
prints
127.0.0.1<NEWLINE>
(and that's it)
-F '%h %t'
prints
'127.0.0.1<NEWLINE>
-F "%h %t"
prints
"127.0.0.1<NEWLINE>
and
-F %h\ %t
prints
127.0.0.1\<NEWLINE>
Has anyone had any success specifying a log format containing spaces?
--
Will 'Mit' Rowe
Stagename*
*1-866-326-3098
mit at stagename.com <josh at stagename.com>
www.stagename.com
Twitter: @stagename
*The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of this
information by persons or entities other than the intended recipient is
prohibited. If you received this transmission in error, please contact the
sender and delete all material contained herein from your computer.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110902/02786e74/attachment-0003.html>
More information about the varnish-misc
mailing list