Welcome! Log In Create A New Profile

Advanced

any way to escape logged bytes?

Jeffrey 'jf' Lim
July 28, 2020 01:10AM
I am discovering that nginx is logging the bytes sent by a client - in
raw form - in my error.log for the following error:

client sent invalid method while reading client request line, client:
NN.N.N.N, server: NAME, request: ",'�Cookie: mstshash=eltons"

Is there a way to get nginx to escape the bytes, as per what happens
with access_log / log_format
(https://nginx.org/en/docs/http/ngx_http_log_module.html#log_format)?

thanks,
-jf

--
He who settles on the idea of the intelligent man as a static entity
only shows himself to be a fool.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

any way to escape logged bytes?

Jeffrey 'jf' Lim July 28, 2020 01:10AM

Re: any way to escape logged bytes?

Maxim Dounin July 30, 2020 08:06AM

Re: any way to escape logged bytes?

Jeffrey 'jf' Lim July 30, 2020 08:50AM

Re: any way to escape logged bytes?

Maxim Dounin July 30, 2020 10:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 186
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready