Conditional logging

Mushin nginx-forum at nginx.us
Wed Jul 13 02:30:00 MSD 2011


Hello,

My app has lots of image files, and client requests for these images are
bloating up the access log a lot.

I was wondering if there is a way to log conditionally; for example, if
there is a request for an image file and it is processed with code 200,
don't bother logging it.  

Is this possible?

Thanks

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,212305,212305#msg-212305




More information about the nginx mailing list