From c29d7477d09f15b9e2f49b2b2bceae7b71113cfd Mon Sep 17 00:00:00 2001 From: gtully Date: Thu, 5 Jul 2018 11:54:22 +0100 Subject: [PATCH] no jira - fix warn formatting error --- .../java/org/apache/activemq/broker/TransportConnection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java index 967e977a47..404e126e8e 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java +++ b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java @@ -846,7 +846,7 @@ public class TransportConnection implements Connection, Task, CommandVisitor { brokerConnectionStates.remove(info.getConnectionId()); } unregisterConnectionState(info.getConnectionId()); - LOG.warn("Failed to add Connection id={}, clientId={} due to {}", info.getConnectionId(), clientId, e); + LOG.warn("Failed to add Connection id={}, clientId={} due to {}", info.getConnectionId(), clientId, e.getLocalizedMessage(), e); //AMQ-6561 - stop for all exceptions on addConnection // close this down - in case the peer of this transport doesn't play nice delayedStop(2000, "Failed with SecurityException: " + e.getLocalizedMessage(), e);