remove stack trace from auth failure log warn - stack trace is already covered by debug service level logging

This commit is contained in:
gtully 2015-03-04 22:06:05 +00:00
parent 11afd5f0bc
commit 5313ad8a96
1 changed files with 1 additions and 1 deletions

View File

@ -812,7 +812,7 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
brokerConnectionStates.remove(info.getConnectionId());
}
unregisterConnectionState(info.getConnectionId());
LOG.warn("Failed to add Connection {}", info.getConnectionId(), e);
LOG.warn("Failed to add Connection {} due to {}", info.getConnectionId(), e);
if (e instanceof SecurityException) {
// close this down - in case the peer of this transport doesn't play nice
delayedStop(2000, "Failed with SecurityException: " + e.getLocalizedMessage(), e);