From ac6e1c1254a42954409f7fa8feeaaa8a040c8bd9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 25 Nov 2006 23:27:34 +0000 Subject: [PATCH] add debug logging --- src/http/modules/perl/ngx_http_perl_module.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/http/modules/perl/ngx_http_perl_module.c b/src/http/modules/perl/ngx_http_perl_module.c index a5f27dc9f..95483ab5e 100644 --- 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_t *r, ngx_http_variable_value_t *v, 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, ngx_http_ssi_ctx_t *ssi_ctx, ctx->redirect_uri.len = 0; ctx->ssi = NULL; + ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "perl ssi done"); + return rc; }