Conditional logging
Paul Dlug
paul.dlug at gmail.com
Thu Jul 19 22:41:52 MSD 2007
On 7/19/07, Kiril Angov <kupokomapa at gmail.com> wrote:
> location ~* ^.+\.(jpg|jpeg|gif)$ {
> root /spool/www;
> *access_log off;*
> expires 30d;
> }
I guess with this I could have it test a specific URL and exclude
that. I still have other reasons for needed conditional logging
though, specifically for the UserID module, I want to create a log
file that only stores results that have the $userid_got variable set.
--Paul
More information about the nginx
mailing list