you can try escape=none
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,281634,283081#msg-283081
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
I see, really thanks to your advice.
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,281635,281642#msg-281642
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello!
On Thu, Oct 18, 2018 at 09:29:31AM -0400, kimown wrote:
> Hi, I want to log my entire request_body, but access.log contains some
> strange backslash, how can I remove these backslash before doube quote?
>
> Here is my nginx.conf,
> ```
> log_format main escape=json '$request_body';
>
>
Hi, I want to log my entire request_body, but access.log contains some
strange backslash, how can I remove these backslash before doube quote?
Here is my nginx.conf,
```
log_format main escape=json '$request_body';
access_log logs/access.log main;
```
This is my request code:
```
fetch('htt