comparison src/http/ngx_http_core_module.c @ 2586:41a965fba141

add full path debug log in try_files
author Igor Sysoev <igor@sysoev.ru>
date Fri, 20 Mar 2009 16:50:53 +0000
parents d0a07e5710b5
children 859f6675a553
comparison
equal deleted inserted replaced
2585:d0a07e5710b5 2586:41a965fba141
1132 1132
1133 test_dir = tf->test_dir; 1133 test_dir = tf->test_dir;
1134 1134
1135 tf++; 1135 tf++;
1136 1136
1137 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 1137 ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
1138 "try to use file: \"%s\"", name); 1138 "try to use file: \"%s\" \"%s\"", name, path.data);
1139 1139
1140 if (tf->lengths == NULL && tf->name.len == 0) { 1140 if (tf->lengths == NULL && tf->name.len == 0) {
1141 1141
1142 path.len -= root; 1142 path.len -= root;
1143 path.data += root; 1143 path.data += root;