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
commit61c0d7af7f0071ad6bf5d9e2c07911f4840fb806 (patch)
tree1e68589d802d8cf910fbeacd548449f7eb7f39f5 /src
parentcf8604351b42a9d4cef3263d810e2cbc208092fe (diff)
downloadrabbitmq-server-61c0d7af7f0071ad6bf5d9e2c07911f4840fb806.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 30fb7b1f..de981fa7 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.