Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Re: 404s logged in error.log?

$
0
0
Hey,

> Is that normal, or is there some piece of configuration I am missing that
> will stop them from being logged to error.log? I figured 404s would be an
> un-exceptional event that doesn't require error logging, but perhaps I'm
> simply not handling that situation correctly in my configuration. Worth
> double-checking.

The default behavior is to log such events.

You can change it with the "log_not_found" directive:
http://nginx.org/r/log_not_found

Best regards,
Piotr Sikora

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>