Repository: activemq
Updated Branches:
  refs/heads/master 64b320371 -> 9b9e3d367


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

Add more detail to log output for easier tracking

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

Branch: refs/heads/master
Commit: 9b9e3d36788d4b17d7033b9ee44c34a75ad33c17
Parents: 64b3203
Author: Timothy Bish <[email protected]>
Authored: Wed Feb 1 16:15:03 2017 -0500
Committer: Timothy Bish <[email protected]>
Committed: Wed Feb 1 16:15:11 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/9b9e3d36/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 b9a5f0f..3b26fd2 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
@@ -844,7 +844,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