Mercurial > hg > nginx-quic
changeset 3531:beca01195937
improve debug logging: "try to use file/dir"
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 May 2010 13:09:09 +0000 |
parents | 57f06b0b749f |
children | a8966b3c1fcf |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -1223,7 +1223,8 @@ ngx_http_core_try_files_phase(ngx_http_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) {