Add more detail to log output for easier tracking
This commit is contained in:
Timothy Bish 2017-02-01 16:15:03 -05:00
parent 64b3203713
commit 9b9e3d3678
1 changed files with 1 additions and 1 deletions

View File

@ -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);