Nginx access log query string params per line.

c0nw0nk nginx-forum at
Thu Jan 31 22:25:00 UTC 2019

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.

Posted at Nginx Forum:,282880,282880#msg-282880

More information about the nginx mailing list