summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_networking.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl
index 223798c898..59d0594ed4 100644
--- a/src/rabbit_networking.erl
+++ b/src/rabbit_networking.erl
@@ -176,8 +176,8 @@ ssl_connection_upgrade(SslOpts, Sock) ->
start_client(RabbitSslSock);
{error, Reason} ->
gen_tcp:close(Sock),
- rabbit_log:error("failed... SSL: ~n~p~n",
- [Reason]),
+ rabbit_log:error("failed to upgrade TCP connection from ~s:~p to SSL: ~n~p~n",
+ [PeerIp, PeerPort, Reason]),
{error, Reason}
end.