Conditional logging

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


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?


Posted at Nginx Forum:,212305,212305#msg-212305

More information about the nginx mailing list