improve debug logging: "try to use file/dir"
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index 21ea7e9..3b4e5d2 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -1223,7 +1223,8 @@ tf++; ngx_log_debug2(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, - "try to use file: \"%s\" \"%s\"", name, path.data); + "try to use %s: \"%s\" \"%s\"", + test_dir ? "dir" : "file", name, path.data); if (tf->lengths == NULL && tf->name.len == 0) {