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

Re: 404s logged in error.log?

$
0
0
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.

Viewing all articles
Browse latest Browse all 53287

Trending Articles