On 3 July 2013 23:27, BSD Kazakhstan <bsdkazakhs...@gmail.com> wrote: > My error.log doesn't show any request/log based on .php requests, > i.e. when I type /test.php (file doesn't exist), error.log doesn't show > anything regarding it. > Shouldn't nginx log this request inside error.log as 404 Not Found?
No. 404s are logged in whatever access_log you have configured. Generally, any new lines in error.log represent a problem that the hoster (sysadmin/app-dev/etc) should look at. A 404 is (or can be) a client-side error, hence should be logged elsewhere. Which it is. J _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx