summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEssien Ita Essien <essiene@gmail.com>2009-02-03 09:34:06 +0100
committerEssien Ita Essien <essiene@gmail.com>2009-02-03 09:34:06 +0100
commitfafbbdb99e7fab763969675e87534a82772b4460 (patch)
tree1e68589d802d8cf910fbeacd548449f7eb7f39f5 /src
parentbcb4308d58e71c4e8544c988e0a630717895cf7c (diff)
downloadrabbitmq-server-git-fafbbdb99e7fab763969675e87534a82772b4460.tar.gz
Make error messages nicer and consistent with the rest of the codebase
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_networking.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_networking.erl b/src/rabbit_networking.erl
index 30fb7b1f60..de981fa780 100644
--- a/src/rabbit_networking.erl
+++ b/src/rabbit_networking.erl
@@ -170,13 +170,13 @@ ssl_connection_upgrade(SslOpts, Sock) ->
case ssl:ssl_accept(Sock, SslOpts) of
{ok, SslSock} ->
- rabbit_log:info("Upgraded TCP connection from ~s:~p to SSL/TLS~n",
+ rabbit_log:info("upgraded TCP connection from ~s:~p to SSL~n",
[PeerIp, PeerPort]),
RabbitSslSock = #ssl_socket{tcp=Sock, ssl=SslSock},
start_client(RabbitSslSock);
{error, Reason} ->
- rabbit_log:error("Failed to upgrade TCP connection from ~s:~p to SSL/TLS. Reason: ~p~n",
- [PeerIp, PeerPort, Reason]),
+ rabbit_log:error("failed... SSL: ~n~p~n",
+ [Reason]),
{error, Reason}
end.