Conditional logging

Paul Dlug paul.dlug at
Thu Jul 19 21:20:13 MSD 2007

Is there a way to log conditionally? For example, I have a load
balancer checking a URL on nginx as a health check, there are a lot of
them so I don't want them in my main log. Is there a way I can log
conditionally based on IP or URL?


More information about the nginx mailing list