Do not log "directory index of /foo/bar/ is forbidden"


I have found “conditional logging” in
It seems that it only works on status codes.

Is there a way to disable logging for something like:

2015/07/09 11:02:30 [error] 24928#0: *97983 directory index of
“/foo/bar/” is forbidden, client:, server:,
request: “GET / HTTP/1.1”, host: “

nginx version: nginx/1.9.1

Best Regards,