First step is to configure logging in activemq.xml, see
http://activemq.apache.org/logging-interceptor.html:


                        <loggingBrokerPlugin 
                                logConnectionEvents="true" 
                                logConsumerEvents="true"
                                logMessageEvents="true"
                                logProducerEvents="true"
                                logTransactionEvents="true"/>

To see only messaging relevant messages we started suppressing messages by
classes and packages and using a higher log level:

log4j.logger.org.ops4j.pax.swissbox.bnd.BndUtils=ERROR
log4j.logger.org.apache.sshd.server=ERROR
log4j.logger.org.apache.karaf.shell.ssh=ERROR
log4j.logger.org.apache.felix.eventadmin=ERROR

But still to many events are logged.

Does anyone have more samples of useful logging settings?



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/log4j-message-suppression-tp4680167p4680179.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to