activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1439395 - /activemq/trunk/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java
Date Mon, 28 Jan 2013 13:19:11 GMT
Author: gtully
Date: Mon Jan 28 13:19:10 2013
New Revision: 1439395

URL: http://svn.apache.org/viewvc?rev=1439395&view=rev
Log:
tidy logging https://issues.apache.org/jira/browse/AMQ-4276

Modified:
    activemq/trunk/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java

Modified: activemq/trunk/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java?rev=1439395&r1=1439394&r2=1439395&view=diff
==============================================================================
--- activemq/trunk/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java
(original)
+++ activemq/trunk/activemq-client/src/main/java/org/apache/activemq/command/NetworkBridgeFilter.java
Mon Jan 28 13:19:10 2013
@@ -96,9 +96,9 @@ public class NetworkBridgeFilter impleme
         if (message.isAdvisory()) {
             if (consumerInfo != null && consumerInfo.isNetworkSubscription()) {
                 // they will be interpreted by the bridge leading to dup commands
-                //if (LOG.isTraceEnabled()) {
-                LOG.error("not propagating advisory to network sub: " + consumerInfo.getConsumerId()
+ ", message: "+ message);
-                //}
+                if (LOG.isTraceEnabled()) {
+                    LOG.trace("not propagating advisory to network sub: " + consumerInfo.getConsumerId()
+ ", message: "+ message);
+                }
                 return false;
             } else if ( message.getDataStructure() != null && message.getDataStructure().getDataStructureType()
== CommandTypes.CONSUMER_INFO) {
                 ConsumerInfo info = (ConsumerInfo)message.getDataStructure();



Mime
View raw message