2 messages in ru.sysoev.nginxRe: Make nginx log the query string?
FromSent OnAttachments
Ezra ZygmuntowiczMay 10, 2007 3:02 pm 
Igor SysoevMay 10, 2007 10:05 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Make nginx log the query string?Actions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:May 10, 2007 10:05:07 pm
List:ru.sysoev.nginx

On Thu, May 10, 2007 at 03:02:56PM -0700, Ezra Zygmuntowicz wrote:

Hey Nginx'ers

I have a requirement to have a little vhost who's sole existance in life is to just log the query string of each GET request it recieves. Is this even possible?

logformat qs "$remote_addr $args";

server { server_name NAME;

access_log /path/to/log qs;

location / { root /path/to/root; } }