Hi,

I assume you have an appender somewhere other than the root
category. But root and that category are logging to the same
place.

Try the following in log4j.properties:
log4j.additivity.MyCategory=false
This stops MyCategory also being logged through the root category.

To turn off logging for JBossMQ use the following:
log4j.org.jboss.mq=OFF

or better (to get warnings and errors)
log4j.org.jboss.mq=WARN

Regards,
Adrian


>From: Michael Quigley <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JBoss-user] Aggressive Logging.
>Date: Mon, 11 Feb 2002 12:11:41 -0500 (EST)
>
>Hi,
>
>I've run into an interesting situation with JBossMQ and log4j.
>
>I'm in the process of porting some pieces of a large application over from
>WebLogic 6.1 to JBoss 2.4. One piece of the application is a JBossMQ
>client, which has used log4j logging since its inception. Now that I've
>switched from WebLogic JMS to JBossMQ, all of my log4j output is being
>doubled!
>
>I'd like to turn off the logging being used by JBossMQ, and stick with the
>original logging used by my client. Anyone have any insight on how to
>disable this?
>
>Michael
>
>PS: Other than this logging issue, everything is working /wonderfully/.
>
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to