comparison src/http/ngx_http_core_module.c @ 3160:a7637c2c1157

low ENAMETOOLONG logging level
author Igor Sysoev <igor@sysoev.ru>
date Fri, 25 Sep 2009 09:13:08 +0000
parents 3e994ac670dc
children 7d1f9a449603
comparison
equal deleted inserted replaced
3159:d4cc5a450ee9 3160:a7637c2c1157
1231 of.events = clcf->open_file_cache_events; 1231 of.events = clcf->open_file_cache_events;
1232 1232
1233 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) 1233 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool)
1234 != NGX_OK) 1234 != NGX_OK)
1235 { 1235 {
1236 if (of.err != NGX_ENOENT && of.err != NGX_ENOTDIR) { 1236 if (of.err != NGX_ENOENT
1237 && of.err != NGX_ENOTDIR
1238 && of.err != NGX_ENAMETOOLONG)
1239 {
1237 ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err, 1240 ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err,
1238 "%s \"%s\" failed", of.failed, path.data); 1241 "%s \"%s\" failed", of.failed, path.data);
1239 } 1242 }
1240 1243
1241 continue; 1244 continue;