From d8623fc5356b8094bdd8f16d4f37bf7219c4e9b4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 16 Mar 2008 18:03:10 +0000 Subject: fastcgi params debug logging --- src/http/modules/ngx_http_fastcgi_module.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/http/modules/ngx_http_fastcgi_module.c') 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; -- cgit