41a6c3
diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c
41a6c3
index c37a09b..2121892 100644
41a6c3
--- a/modules/proxy/proxy_util.c
41a6c3
+++ b/modules/proxy/proxy_util.c
41a6c3
@@ -1733,6 +1733,9 @@ PROXY_DECLARE(char *) ap_proxy_define_worker(apr_pool_t *p,
41a6c3
 
41a6c3
     memset(wshared, 0, sizeof(proxy_worker_shared));
41a6c3
 
41a6c3
+    if (uri.port && uri.port == ap_proxy_port_of_scheme(uri.scheme)) {
41a6c3
+        uri.port = 0;
41a6c3
+    }
41a6c3
     ptr = apr_uri_unparse(p, &uri, APR_URI_UNP_REVEALPASSWORD);
41a6c3
     if (PROXY_STRNCPY(wshared->name, ptr) != APR_SUCCESS) {
41a6c3
         return apr_psprintf(p, "worker name (%s) too long", ptr);
41a6c3
@@ -2688,6 +2691,13 @@ PROXY_DECLARE(int) ap_proxy_connect_backend(const char *proxy_function,
41a6c3
                              worker->s->hostname);
41a6c3
                 break;
41a6c3
             }
41a6c3
+
41a6c3
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02823)
41a6c3
+                         "%s: connection established with Unix domain socket "
41a6c3
+                         "%s (%s)",
41a6c3
+                         proxy_function,
41a6c3
+                         conn->uds_path,
41a6c3
+                         worker->s->hostname);
41a6c3
         }
41a6c3
         else
41a6c3
 #endif
41a6c3
@@ -2780,6 +2790,12 @@ PROXY_DECLARE(int) ap_proxy_connect_backend(const char *proxy_function,
41a6c3
                 backend_addr = backend_addr->next;
41a6c3
                 continue;
41a6c3
             }
41a6c3
+
41a6c3
+            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s, APLOGNO(02824)
41a6c3
+                         "%s: connection established with %pI (%s)",
41a6c3
+                         proxy_function,
41a6c3
+                         backend_addr,
41a6c3
+                         worker->s->hostname);
41a6c3
         }
41a6c3
 
41a6c3
         /* Set a timeout on the socket */