404s logged in error.log?

akurilin nginx-forum at nginx.us
Sat May 18 02:47:24 UTC 2013


I might have misread the two answers here, but I get the impression that
they're saying the exact opposite of each other. Here's a sample (redacted)
error message I'm seeing in error.log when doing a GET on a file that
doesn't exist:

2013/05/18 02:21:27 [error] 11619#0: *417 open() "/var/www/mysite/foo.html"
failed (2: No such file or directory), client: 123.123.123.123, server:
my.server.com, request: "GET /foo.html HTTP/1.1", host: "my.server.com"

Just to confirm, should I be seeing the error message above in error.log, or
did I misconfigure something? I can see a corresponding 404 being logged in
access.log.

Thanks again.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,239307,239310#msg-239310



More information about the nginx mailing list