disable FabricDiscoveryAgent log in Fuse Fabric

Solution Verified - Updated -

Issue

  • We deployed a amq consumer by using following code snap:
@Component
public class AuditProcessor {
    private static Logger LOG = LoggerFactory
            .getLogger(AuditProcessor.class);

    @Consume(uri = "activemq:audit")
    public void route(String message) {
        LOG.info(message );        
    }
}
  • We are seeing following log continuously from log, we can disable apache amq log by adding log4j.logger.org.apache.activemq=ERROR,out to org.ops4j.pax.logging.properties from Fuse management console, but I cannot disable org.jboss.amq log by adding log4j.logger.org.jboss.amq=ERROR,out to the file, do you have any idea about how to disable the org.jboss.amq log ?

  • Here's the unwanted log that we need to suppress:


----log-------------------------- ssfully connected to tcp://host:62000 17:28:35,448 | INFO | onsumer[sudit] | FabricDiscoveryAgent | 251 - org.jboss.amq.mq-fabric - 6.0.0.redhat-065 | closing tracker 17:28:35,453 | INFO | onsumer[sudit] | DiscoveryTransport | 253 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60065 | Adding new broker connection URL: tcp://host:62000 17:28:35,454 | INFO | ActiveMQ Task-1 | FailoverTransport | 253 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60065 | Successfully connected to tcp://host:62000 17:28:35,847 | INFO | onsumer[sudit] | FabricDiscoveryAgent | 251 - org.jboss.amq.mq-fabric - 6.0.0.redhat-065 | closing tracker 17:28:35,851 | INFO | onsumer[sudit] | DiscoveryTransport | 253 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60065 | Adding new broker connection URL: tcp://host:62000 17:28:35,853 | INFO | ActiveMQ Task-1 | FailoverTransport | 253 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60065 | Successfully connected to tcp://host:62000 17:28:35,880 | INFO | onsumer[sdit] | FabricDiscoveryAgent | 251 - org.jboss.amq.mq-fabric - 6.0.0.redhat-065 | closing tracker 17:28:35,882 | INFO | onsumer[sudit] | FabricDiscoveryAgent | 251 - org.jboss.amq.mq-fabric - 6.0.0.redhat-065 | closing tracker 17:28:35,885 | INFO | onsumer[sudit] | DiscoveryTransport | 253 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60065 | Adding new broker connection URL: tcp://host:62000 17:28:35,886 | INFO | ActiveMQ Task-1 | FailoverTransport | 253 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60065 | Successfully connected to tcp://host:62000 17:28:35,886 | INFO | onsumer[sudit] | DiscoveryTransport | 253 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60065 | Adding new broker connection URL: tcp://host:62000

Environment

  • Red Hat JBoss Fuse
    • 6.x
  • Red Hat JBoss A-MQ
    • 6.x
  • Fabric

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.