aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-03-16 18:03:10 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-03-16 18:03:10 +0000
commitd8623fc5356b8094bdd8f16d4f37bf7219c4e9b4 (patch)
tree642726d3ecbb84a4f782d188d87d33a4e21e0882 /src
parent430db103f682457f7cc0e7198e03ef6ddb4a76ad (diff)
downloadnginx-d8623fc5356b8094bdd8f16d4f37bf7219c4e9b4.tar.gz
nginx-d8623fc5356b8094bdd8f16d4f37bf7219c4e9b4.zip
fastcgi params debug logging
Diffstat (limited to 'src')
-rw-r--r--src/http/modules/ngx_http_fastcgi_module.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c
index b912e19b7..5678e21f3 100644
--- a/src/http/modules/ngx_http_fastcgi_module.c
+++ b/src/http/modules/ngx_http_fastcgi_module.c
@@ -639,6 +639,11 @@ ngx_http_fastcgi_create_request(ngx_http_request_t *r)
code((ngx_http_script_engine_t *) &e);
}
e.ip += sizeof(uintptr_t);
+
+ ngx_log_debug4(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+ "fastcgi param: \"%*s: %*s\"",
+ key_len, e.pos - (key_len + val_len),
+ val_len, e.pos - val_len);
}
b->last = e.pos;