Re: Nginx access log query string params per line.

2019-02-05 Thread Francis Daly
On Thu, Jan 31, 2019 at 05:25:00PM -0500, c0nw0nk wrote: Hi there, > 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 I think "no", using just stock ngi

Nginx access log query string params per line.

2019-01-31 Thread c0nw0nk
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 quer