On 31/01/2008, at 3:54 PM, David Lloyd wrote:
Paul,
Paul Smith wrote:
On 31/01/2008, at 2:37 PM, QWERTY? wrote:
Hi,
We're currently using Hibernate and ActiveMQ, but i want to
suppress all the
activeMQ messages comming through log4j
is there an easy way to do this? I can only get it down to debug
messages so
far using
log4j.logger.org.apache.activemq=debug
You're going the wrong way, this is configuring log4j to display
_more_ logging than you want. If you want all activemq logs
disabled try:
log4j.logger.org.apache.activemq=off
Indeed, but I tend to like to set that to FATAL; at least then you
don't suddenly get ActiveMQ or whatever it is breaking horribly with
no logging.
ERROR's usually where you want it set, the ERROR's are always worth
having IMHO, but I think he wants all of them suppressed.. Personally
I have WARN level.
Paul