]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Backport a logging change to make things clearer; includes jorton's r224721 fix.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 7 Aug 2005 23:32:36 +0000 (23:32 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sun, 7 Aug 2005 23:32:36 +0000 (23:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody-2.0.x@230712 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/proxy_http.c

index 4ca0d6d19c58bb3e2a986e2b781e5e90a56ac50d..fe37468c3754b985667b129a96a985353713477d 100644 (file)
@@ -443,7 +443,7 @@ static apr_status_t pass_brigade(apr_bucket_alloc_t *bucket_alloc,
     status = ap_pass_brigade(origin->output_filters, b);
     if (status != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_ERR, status, r->server,
-                     "proxy: pass request data failed to %pI (%s)",
+                     "proxy: pass request body failed to %pI (%s)",
                      p_conn->addr, p_conn->name);
         return status;
     }
@@ -1075,8 +1075,10 @@ apr_status_t ap_proxy_http_request(apr_pool_t *p, request_rec *r,
 
     if (status != APR_SUCCESS) {
         ap_log_error(APLOG_MARK, APLOG_ERR, status, r->server,
-                     "proxy: request failed to %pI (%s)",
-                     p_conn->addr, p_conn->name);
+                     "proxy: pass request body failed to %pI (%s)"
+                     " from %s (%s)",
+                     p_conn->addr, p_conn->name ? p_conn->name: "",
+                     c->remote_ip, c->remote_host ? c->remote_host: "");
         return status;
     }