Welcome! Log In Create A New Profile

Advanced

Re: 404s logged in error.log?

Piotr Sikora
May 17, 2013 10:12PM
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
Subject Author Posted

404s logged in error.log?

akurilin May 17, 2013 09:41PM

Re: 404s logged in error.log?

Daniel Black May 17, 2013 10:08PM

Re: 404s logged in error.log?

Piotr Sikora May 17, 2013 10:12PM

Re: 404s logged in error.log?

akurilin May 17, 2013 10:47PM

Re: 404s logged in error.log?

Daniel Black May 17, 2013 11:24PM

Re: 404s logged in error.log?

akurilin May 17, 2013 11:51PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 278
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready