From 856d7644adba9725c5a5c2790b43c78be70a5c01 Mon Sep 17 00:00:00 2001 From: Martyn Taylor Date: Wed, 4 Nov 2015 15:04:12 +0000 Subject: [PATCH] ARTEMIS-296 Remove stacktrace from bridge disconnect log --- .../activemq/artemis/core/server/ActiveMQServerLogger.java | 2 +- .../activemq/artemis/core/server/cluster/impl/BridgeImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 f2f77788b4..250eb2d95d 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) 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 a8b048c98e..22f58a5c21 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;