activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lloyd <lloy0...@adam.com.au>
Subject Re: Suppress ActiveMQ log4j messages on client
Date Thu, 31 Jan 2008 04:54:31 GMT

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.

D:S:L

Mime
View raw message