]> granicus.if.org Git - apache/commitdiff
Logging update
authorJim Jagielski <jim@apache.org>
Wed, 8 Feb 2017 13:23:36 +0000 (13:23 +0000)
committerJim Jagielski <jim@apache.org>
Wed, 8 Feb 2017 13:23:36 +0000 (13:23 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1782164 13f79535-47bb-0310-9956-ffa450edef68

docs/log-message-tags/next-number
modules/proxy/mod_proxy_fcgi.c

index 37ef7f1952673d06a25a408822120accaebc49c5..ddf466b9c0690c84497350a28afdfced89e860ba 100644 (file)
@@ -1 +1 @@
-3514
+3515
index 4537c06312e41f90a2b6fcc1928783861176af4d..c7906acfe7ee79b5d6dbb1d31a43c119ff8293b4 100644 (file)
@@ -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? */