diff src/http/modules/ngx_http_fastcgi_module.c @ 1945:ab18958e1322

fastcgi params debug logging
author Igor Sysoev <igor@sysoev.ru>
date Sun, 16 Mar 2008 18:03:10 +0000
parents 2819956d1ca0
children 63c60504c0bf
line wrap: on
line diff
--- 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
                 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;