activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-296 Remove stacktrace from bridge disconnect log
Date Wed, 04 Nov 2015 15:24:14 GMT
ARTEMIS-296 Remove stacktrace from bridge disconnect log


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

Branch: refs/heads/master
Commit: 856d7644adba9725c5a5c2790b43c78be70a5c01
Parents: 77f0f66
Author: Martyn Taylor <mtaylor@redhat.com>
Authored: Wed Nov 4 15:04:12 2015 +0000
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Nov 4 10:23:58 2015 -0500

----------------------------------------------------------------------
 .../apache/activemq/artemis/core/server/ActiveMQServerLogger.java  | 2 +-
 .../activemq/artemis/core/server/cluster/impl/BridgeImpl.java      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/856d7644/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
index f2f7778..250eb2d 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
@@ -694,7 +694,7 @@ public interface ActiveMQServerLogger extends BasicLogger {
 
    @LogMessage(level = Logger.Level.WARN)
    @Message(id = 222095, value = "Connection failed with failedOver={0}", format = Message.Format.MESSAGE_FORMAT)
-   void bridgeConnectionFailed(@Cause Exception e, Boolean failedOver);
+   void bridgeConnectionFailed(Boolean failedOver);
 
    @LogMessage(level = Logger.Level.WARN)
    @Message(id = 222096, value = "Error on querying binding on bridge {0}. Retrying in 100
milliseconds", format = Message.Format.MESSAGE_FORMAT)

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/856d7644/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/BridgeImpl.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/BridgeImpl.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/BridgeImpl.java
index a8b048c..22f58a5 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/BridgeImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/impl/BridgeImpl.java
@@ -571,7 +571,7 @@ public class BridgeImpl implements Bridge, SessionFailureListener, SendAcknowled
    }
 
    public void connectionFailed(final ActiveMQException me, boolean failedOver, String scaleDownTargetNodeID)
{
-      ActiveMQServerLogger.LOGGER.bridgeConnectionFailed(me, failedOver);
+      ActiveMQServerLogger.LOGGER.bridgeConnectionFailed(failedOver);
 
       synchronized (connectionGuard) {
          keepConnecting = true;


Mime
View raw message