From: William A. Rowe Jr Date: Sun, 7 Aug 2005 23:32:36 +0000 (+0000) Subject: Backport a logging change to make things clearer; includes jorton's r224721 fix. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d1525ee1b7180fb3407990b44111d863a3b415;p=thirdparty%2Fapache%2Fhttpd.git Backport a logging change to make things clearer; includes jorton's r224721 fix. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/proxy-reqbody-2.0.x@230712 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/proxy_http.c b/modules/proxy/proxy_http.c index 4ca0d6d19c5..fe37468c375 100644 --- a/modules/proxy/proxy_http.c +++ b/modules/proxy/proxy_http.c @@ -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; }