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 

/index.php?query1=param1&query2=param2


The access.log file shows 

query1=param1&query2=param2

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

Example.

query1=param1

query2=param2

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: 
https://forum.nginx.org/read.php?2,282880,282880#msg-282880

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to