I think I'm missing something. We use the following without problem on
3.0.1
varnishncsa -F '%{X-Forwarded-For}i %l %u %t "%r" %s %b "%{Referer}i"
"%{User-agent}i" "%{Cookie}i" "%{Varnish:hitmiss}x"' -X
'pingdom$|\.png$|\.ico$|\.jpg$|\.gif$'
On Fri, Sep 2, 2011 at 9:22 AM, Mit Rowe <[email protected]> wrote:
> 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
> [email protected] <[email protected]>
> 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.*
>
> _______________________________________________
> varnish-misc mailing list
> [email protected]
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc