summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_core_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-09-25 09:13:08 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-09-25 09:13:08 +0000
commit7f6d71bbc848360f4f6b1ec276736b88fb15b3f0 (patch)
tree32e71e6a85ad1bf6f7bae5bf14cb90c870b6899d /src/http/ngx_http_core_module.c
parentc81582ea671fc40323e2cfea913abcb37362d52f (diff)
downloadnginx-7f6d71bbc848360f4f6b1ec276736b88fb15b3f0.tar.gz
nginx-7f6d71bbc848360f4f6b1ec276736b88fb15b3f0.tar.bz2
low ENAMETOOLONG logging level
Diffstat (limited to 'src/http/ngx_http_core_module.c')
-rw-r--r--src/http/ngx_http_core_module.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
index 9af59b160..a671e2eed 100644
--- a/src/http/ngx_http_core_module.c
+++ b/src/http/ngx_http_core_module.c
@@ -1233,7 +1233,10 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r,
if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool)
!= NGX_OK)
{
- if (of.err != NGX_ENOENT && of.err != NGX_ENOTDIR) {
+ if (of.err != NGX_ENOENT
+ && of.err != NGX_ENOTDIR
+ && of.err != NGX_ENAMETOOLONG)
+ {
ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err,
"%s \"%s\" failed", of.failed, path.data);
}