]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mod_proxy_ajp: follow up to r1643537.
authorYann Ylavic <ylavic@apache.org>
Sat, 6 Dec 2014 15:36:19 +0000 (15:36 +0000)
committerYann Ylavic <ylavic@apache.org>
Sat, 6 Dec 2014 15:36:19 +0000 (15:36 +0000)
Log aborted client connections with level DEBUG only (no more noise than other proxy modules).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1643543 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_ajp.c

index 37afcc78c88c6353a6de3530519438806957b4e6..416e92e4da61c7382805784efdabf201f4a30430 100644 (file)
@@ -686,7 +686,8 @@ static int ap_proxy_ajp_request(apr_pool_t *p, request_rec *r,
         }
     }
     else if (output_failed) {
-        ap_log_rerror(APLOG_MARK, APLOG_ERR, status, r, APLOGNO(02822)
+        int level = (r->connection->aborted) ? APLOG_DEBUG : APLOG_ERR;
+        ap_log_rerror(APLOG_MARK, level, status, r, APLOGNO(02822)
                       "dialog with client %pI failed",
                       r->connection->client_addr);
         if (rv == OK) {