From: Igor Sysoev Date: Sat, 25 Nov 2006 23:27:34 +0000 (+0000) Subject: add debug logging X-Git-Tag: release-0.4.14~6 X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=ac6e1c1254a42954409f7fa8feeaaa8a040c8bd9;p=nginx.git add debug logging --- 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; }