diff --git a/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java b/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java index 117c1ac91f..1c580ad369 100755 --- a/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java +++ b/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java @@ -695,7 +695,10 @@ public class TransportConnection implements Connection, Task, CommandVisitor { broker.addConnection(context, info); } catch (Exception e) { brokerConnectionStates.remove(info); - LOG.warn("Failed to add Connection", e); + LOG.warn("Failed to add Connection, reason: " + e.toString()); + if (LOG.isDebugEnabled()) { + LOG.debug("Failure detail", e); + } throw e; } if (info.isManageable()) {