From 0c89959c59a332e495d74e2115584409456afe5b Mon Sep 17 00:00:00 2001 From: Gary Tully Date: Wed, 15 Apr 2009 11:01:29 +0000 Subject: [PATCH] remove duplicate log info, AMQ-2198|https://issues.apache.org/activemq/browse/AMQ-2198 git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@765133 13f79535-47bb-0310-9956-ffa450edef68 --- .../activemq/network/DemandForwardingBridgeSupport.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java b/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java index f3e72e7c14..3af675d6ca 100644 --- a/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java +++ b/activemq-core/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java @@ -549,10 +549,7 @@ public abstract class DemandForwardingBridgeSupport implements NetworkBridge, Br // a network subscription so there is a need to synchronise on a shared entity synchronized(brokerService.getVmConnectorURI()) { if (isDuplicateNetworkSubscription(info)) { - if (LOG.isDebugEnabled()) { - LOG.debug(configuration.getBrokerName() + " Ignoring sub from " + remoteBrokerName + ", destination " + info.getDestination() - + ", for " + info.getConsumerId() + " as a duplicate. Already subscribed via network subscription :" + info); - } + // trace in method return; } if (addConsumerInfo(info)) { @@ -974,7 +971,8 @@ public abstract class DemandForwardingBridgeSupport implements NetworkBridge, Br if (!networkConsumers.isEmpty()) { if (matchFound(candidateConsumers, networkConsumers)) { if (LOG.isDebugEnabled()) { - LOG.debug(configuration.getBrokerName() + " subscription: " + consumerInfo + " is duplicated by network subscription: " + LOG.debug(configuration.getBrokerName() + " Ignoring duplicate subscription from " + remoteBrokerName + + ", sub: " + consumerInfo + " is duplicated by network subscription: " + sub.getConsumerInfo() + ", networkComsumerIds: " + networkConsumers); } isDuplicate = true;