Created
October 22, 2014 15:42
-
-
Save chrismeyersfsu/badf93b4fdb4404dd0bf to your computer and use it in GitHub Desktop.
Example of log format with unwanted " hex escaped
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http { | |
log_format haproxy_log '$proxy_protocol_addr' '$haproxy_log_format_base'; | |
server { | |
set $haproxy_log_format_base '[$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$cookie_connect.sid"'; | |
access_log /var/log/nginx/access.log haproxy_log; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above results in " being escaped:
This is not the wanted behavior