Nginx日志文件解码字符

时间:2014-08-21 01:28:27

标签: nginx

我想将http字符编码到日志文件中

而不是记录此

"20/Aug/2014:17:19:06 -0400","127.0.0.1","uid","suid","35604c31-c61b-484a-95aa-ca17f85fa8ae","-","prod\x22uct","category","actuoi","label","2","{\x22say\x22:\x22hello\x22}"

我想记录下这个

"20/Aug/2014:17:19:06 -0400","127.0.0.1","uid","suid","35604c31-c61b-484a-95aa-ca17f85fa8ae","-","prod\x22uct","category","actuoi","label","2","{"say":"hello"}"

\x22将被解码为"

请知道。

由于

0 个答案:

没有答案