Cannot log a cookie with a dash in the name

Hates_ nginx-forum at
Mon Mar 12 18:38:08 UTC 2012

I am trying to log cookies but they have a dash in the name as such:


My logs come through as:


Is there a work around?

I've tried wrapping the name in curly brackets and also using
underscores but get an error about an unmatched bracket or no value.
I've tried the following formats:




Any help would be greatly appreciated. I don't want to have to move to
Apache :\

Posted at Nginx Forum:,223770,223770#msg-223770

More information about the nginx mailing list