activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isaac Liao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5052) DemandForwardingBridgeSupport has noisy log
Date Fri, 14 Feb 2014 08:26:23 GMT
Isaac Liao created AMQ-5052:
-------------------------------

             Summary: DemandForwardingBridgeSupport has noisy log
                 Key: AMQ-5052
                 URL: https://issues.apache.org/jira/browse/AMQ-5052
             Project: ActiveMQ
          Issue Type: Bug
            Reporter: Isaac Liao


DemandForwardingBridgeSupport#serviceRemoteConsumerAdvisory has a code:

            if (info.isBrowser()) {
                LOG.info("{} Ignoring sub from {}, browsers explicitly suppressed", configuration.getBrokerName(),
remoteBrokerName);
                return;
            }

the original version is:

            if (info.isBrowser()) {
                if (LOG.isDebugEnabled()) {
                    LOG.info(configuration.getBrokerName() + " Ignoring sub from " + remoteBrokerName
+ ", browsers explicitly suppressed");
                }
                return;
            }

New version code is noisy because broker always show info log when client browse message.
Please change code to:

            if (info.isBrowser()) {
                LOG.debug("{} Ignoring sub from {}, browsers explicitly suppressed", configuration.getBrokerName(),
remoteBrokerName);
                return;
            }

Thanks



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message