January 31, 2019 05:25PM
So with the following.

logformat qs "$remote_addr $args";

server {
server_name NAME;

access_log /path/to/log qs;

location / {
root /path/to/root;

If i go to url


The access.log file shows


All on the same line isit possible to split these up onto diifferent lines.




etc etc

I just wanted to see individual query params not all clustered together in one line where it is a bit unreadable.

Subject Author Posted

Nginx access log query string params per line.

c0nw0nk January 31, 2019 05:25PM

Re: Nginx access log query string params per line.

Francis Daly February 05, 2019 02:56PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 56
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready