From 2eef1176662f0f6453b1a0f684ca18b066ae93b8 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Wed, 8 Feb 2017 13:23:36 +0000 Subject: [PATCH] Logging update git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1782164 13f79535-47bb-0310-9956-ffa450edef68 --- docs/log-message-tags/next-number | 2 +- modules/proxy/mod_proxy_fcgi.c | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/log-message-tags/next-number b/docs/log-message-tags/next-number index 37ef7f1952..ddf466b9c0 100644 --- a/docs/log-message-tags/next-number +++ b/docs/log-message-tags/next-number @@ -1 +1 @@ -3514 +3515 diff --git a/modules/proxy/mod_proxy_fcgi.c b/modules/proxy/mod_proxy_fcgi.c index 4537c06312..c7906acfe7 100644 --- a/modules/proxy/mod_proxy_fcgi.c +++ b/modules/proxy/mod_proxy_fcgi.c @@ -177,7 +177,7 @@ static void fix_cgivars(request_rec *r, fcgi_dirconf_t *dconf) if (0 < (rc = ap_expr_exec_re(r, entry->cond, AP_MAX_REG_MATCH, regm, &src, &err))) { const char *val = ap_expr_str_exec_re(r, entry->subst, AP_MAX_REG_MATCH, regm, &src, &err); if (err) { - ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, APLOGNO() + ap_log_rerror(APLOG_MARK, APLOG_INFO, 0, r, APLOGNO(03514) "Error evaluating expression for replacment of %s: '%s'", entry->envname, err); continue; @@ -388,6 +388,9 @@ static apr_status_t send_environment(proxy_conn_rec *conn, request_rec *r, pend--; } apr_table_setn(r->subprocess_env, "SCRIPT_NAME", pend); + ap_log_rerror(APLOG_MARK, APLOG_TRACE4, 0, r, + "fpm:virtual_script: Modified SCRIPT_NAME to: %s, + pend); } /* XXX are there any FastCGI specific env vars we need to send? */ -- 2.40.0