diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2017-12-01 23:15:24 +0100 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2017-12-01 23:15:24 +0100 |
commit | 833a2c15b01c91f7d58f29a8e23f14111a16a4b7 (patch) | |
tree | a93d745efe54eb6bed81897ed85c45800eeffaed /modules/proxy/mod_proxy_uwsgi.c | |
parent | Take numbers (diff) | |
download | apache2-833a2c15b01c91f7d58f29a8e23f14111a16a4b7.tar.xz apache2-833a2c15b01c91f7d58f29a8e23f14111a16a4b7.zip |
Add APLOGNO to error messages
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1816922 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy/mod_proxy_uwsgi.c')
-rw-r--r-- | modules/proxy/mod_proxy_uwsgi.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/proxy/mod_proxy_uwsgi.c b/modules/proxy/mod_proxy_uwsgi.c index e94905f8f2..175276aa48 100644 --- a/modules/proxy/mod_proxy_uwsgi.c +++ b/modules/proxy/mod_proxy_uwsgi.c @@ -70,7 +70,7 @@ static int uwsgi_canon(request_rec *r, char *url) err = ap_proxy_canon_netloc(r->pool, &url, NULL, NULL, &host, &port); if (err) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10097) "error parsing URL %s: %s", url, err); return HTTP_BAD_REQUEST; } @@ -107,7 +107,7 @@ static int uwsgi_send(proxy_conn_rec * conn, const char *buf, while (length > 0) { written = length; if ((rv = apr_socket_send(conn->sock, buf, &written)) != APR_SUCCESS) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, + ap_log_rerror(APLOG_MARK, APLOG_ERR, rv, r, APLOGNO(10098) "sending data to %s:%u failed", conn->hostname, conn->port); return HTTP_SERVICE_UNAVAILABLE; @@ -223,7 +223,7 @@ static int uwsgi_send_body(request_rec *r, proxy_conn_rec * conn) readlen = ap_get_client_block(r, buf, AP_IOBUFSIZE); } if (readlen == -1) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10099) "receiving request body failed"); return HTTP_INTERNAL_SERVER_ERROR; } @@ -474,7 +474,7 @@ static int uwsgi_handler(request_rec *r, proxy_worker * worker, } decode_status = ap_unescape_url(url + w_len - delta); if (decode_status) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10100) "unable to decode uri: %s", url + w_len - delta); return HTTP_INTERNAL_SERVER_ERROR; } @@ -501,7 +501,7 @@ static int uwsgi_handler(request_rec *r, proxy_worker * worker, /* Step Two: Make the Connection */ if (ap_proxy_connect_backend(UWSGI_SCHEME, backend, worker, r->server)) { - ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, + ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r, APLOGNO(10101) "failed to make connection to backend: %s:%u", backend->hostname, backend->port); status = HTTP_SERVICE_UNAVAILABLE; |