Repository: activemq
Updated Branches:
  refs/heads/activemq-5.14.x cd82533f3 -> 58ab9b6c9


https://issues.apache.org/jira/browse/AMQ-6588

Add more detail to log output for easier tracking
(cherry picked from commit 9b9e3d36788d4b17d7033b9ee44c34a75ad33c17)


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/58ab9b6c
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/58ab9b6c
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/58ab9b6c

Branch: refs/heads/activemq-5.14.x
Commit: 58ab9b6c9333031965e306aa4399f76814ed7383
Parents: cd82533
Author: Timothy Bish <[email protected]>
Authored: Wed Feb 1 16:15:03 2017 -0500
Committer: Timothy Bish <[email protected]>
Committed: Wed Feb 1 16:16:04 2017 -0500

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/broker/TransportConnection.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/58ab9b6c/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
----------------------------------------------------------------------
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 fc61bbd..dbd07be 100755
--- 
a/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
+++ 
b/activemq-broker/src/main/java/org/apache/activemq/broker/TransportConnection.java
@@ -855,7 +855,7 @@ public class TransportConnection implements Connection, 
Task, CommandVisitor {
                 brokerConnectionStates.remove(info.getConnectionId());
             }
             unregisterConnectionState(info.getConnectionId());
-            LOG.warn("Failed to add Connection {} due to {}", 
info.getConnectionId(), e);
+            LOG.warn("Failed to add Connection id={}, clientId={} due to {}", 
info.getConnectionId(), clientId, 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);

Reply via email to