]> git.kaiwu.me - nginx.git/commitdiff
add full path debug log in try_files
authorIgor Sysoev <igor@sysoev.ru>
Fri, 20 Mar 2009 16:50:53 +0000 (16:50 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 20 Mar 2009 16:50:53 +0000 (16:50 +0000)
src/http/ngx_http_core_module.c

index ca9bc4f812cbcd2bd712dded5ea8d17ecdf4bcb3..05c866128bc0b56a08976063fe9c039afe3ae0aa 100644 (file)
@@ -1134,8 +1134,8 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r,
 
         tf++;
 
-        ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
-                       "try to use file: \"%s\"", name);
+        ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+                       "try to use file: \"%s\" \"%s\"", name, path.data);
 
         if (tf->lengths == NULL && tf->name.len == 0) {