changeset 871:a980f66c04fb

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Sat, 25 Nov 2006 23:27:34 +0000
parents 783c198b4ded
children 1c4a5b3f9110
files src/http/modules/perl/ngx_http_perl_module.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/modules/perl/ngx_http_perl_module.c
+++ b/src/http/modules/perl/ngx_http_perl_module.c
@@ -363,6 +363,9 @@ ngx_http_perl_variable(ngx_http_request_
     ctx->filename.data = NULL;
     ctx->redirect_uri.len = 0;
 
+    ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
+                   "perl variable done");
+
     return rc;
 }
 
@@ -443,6 +446,8 @@ ngx_http_perl_ssi(ngx_http_request_t *r,
     ctx->redirect_uri.len = 0;
     ctx->ssi = NULL;
 
+    ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "perl ssi done");
+
     return rc;
 }