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

low ENAMETOOLONG logging level
author Igor Sysoev <igor@sysoev.ru>
date Fri, 25 Sep 2009 09:13:08 +0000
parents b941147f2b2e
children 975f0558aab3
comparison
equal deleted inserted replaced
3159:d4cc5a450ee9 3160:a7637c2c1157
1415 of.events = clcf->open_file_cache_events; 1415 of.events = clcf->open_file_cache_events;
1416 1416
1417 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool) 1417 if (ngx_open_cached_file(clcf->open_file_cache, &path, &of, r->pool)
1418 != NGX_OK) 1418 != NGX_OK)
1419 { 1419 {
1420 if (of.err != NGX_ENOENT && of.err != NGX_ENOTDIR) { 1420 if (of.err != NGX_ENOENT
1421 && of.err != NGX_ENOTDIR
1422 && of.err != NGX_ENAMETOOLONG)
1423 {
1421 ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err, 1424 ngx_log_error(NGX_LOG_CRIT, r->connection->log, of.err,
1422 "%s \"%s\" failed", of.failed, value->data); 1425 "%s \"%s\" failed", of.failed, value->data);
1423 } 1426 }
1424 1427
1425 switch (code->op) { 1428 switch (code->op) {