mirror of
https://github.com/nginx/nginx.git
synced 2024-12-04 22:09:01 +08:00
improve debug logging: "try to use file/dir"
This commit is contained in:
parent
9434ae59e8
commit
6e884ba19a
@ -1223,7 +1223,8 @@ ngx_http_core_try_files_phase(ngx_http_request_t *r,
|
||||
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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user