Welcome! Log In Create A New Profile

Advanced

Re: 404s logged in error.log?

Daniel Black
May 17, 2013 10:08PM
----- Original Message -----
> I was wondering if someone could confirm that requests resulting in a
> 404
> response are by default logged to error.log at error level "error".
>
> 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,

Correct.

> but perhaps
> I'm
> simply not handling that situation correctly in my configuration.
> Worth
> double-checking.
>

4xx responses are a client errors and don't go in the error.log

5xx are server errors which do go in the error log.

_______________________________________________
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: 299
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