Mercurial > hg > nginx
changeset 1945:ab18958e1322
fastcgi params debug logging
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 16 Mar 2008 18:03:10 +0000 |
parents | be6c9033a798 |
children | 171a283af56b |
files | src/http/modules/ngx_http_fastcgi_module.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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;