activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject activemq git commit: remove stack trace from auth failure log warn - stack trace is already covered by debug service level logging
Date Wed, 04 Mar 2015 22:05:06 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 11afd5f0b -> 5313ad8a9


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


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

Branch: refs/heads/master
Commit: 5313ad8a96279c63fb1b6a97513c142eba778643
Parents: 11afd5f
Author: gtully <gary.tully@gmail.com>
Authored: Wed Mar 4 22:06:05 2015 +0000
Committer: gtully <gary.tully@gmail.com>
Committed: Wed Mar 4 22:06:05 2015 +0000

----------------------------------------------------------------------
 .../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/5313ad8a/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 270ed9f..7f9fa6c 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
@@ -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);


Mime
View raw message