mirror of https://github.com/apache/activemq.git
remove stack trace from auth failure log warn - stack trace is already covered by debug service level logging
This commit is contained in:
parent
11afd5f0bc
commit
5313ad8a96
|
@ -812,7 +812,7 @@ public class TransportConnection implements Connection, Task, CommandVisitor {
|
||||||
brokerConnectionStates.remove(info.getConnectionId());
|
brokerConnectionStates.remove(info.getConnectionId());
|
||||||
}
|
}
|
||||||
unregisterConnectionState(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) {
|
if (e instanceof SecurityException) {
|
||||||
// close this down - in case the peer of this transport doesn't play nice
|
// close this down - in case the peer of this transport doesn't play nice
|
||||||
delayedStop(2000, "Failed with SecurityException: " + e.getLocalizedMessage(), e);
|
delayedStop(2000, "Failed with SecurityException: " + e.getLocalizedMessage(), e);
|
||||||
|
|
Loading…
Reference in New Issue