That is the correct way to enable debug for a category. You have to remove any INFO threshold on the category in order for these messages to show up.
xxxxxxxxxxxxxxxxxxxxxxxx Scott Stark Chief Technology Officer JBoss Group, LLC xxxxxxxxxxxxxxxxxxxxxxxx ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric J Kaplan Sent: Tuesday, February 10, 2004 6:50 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] log4j DEBUG Any ideas? I've trolled the forums with no answers. I can turn on DEBUG for everything on the CONSOLE appender (and I see the debug messages for the bean below), but how do I do for a single class. We use the log4j.properties file for our client and it works like a charm. I figured the xml configuration would be similar, and I'm surprised what I have below doesn't work. It's hard for us to support our users without being able to individually turn on logging. I'm sure I'm doing something silly. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric J Kaplan Sent: Monday, February 09, 2004 5:49 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] log4j DEBUG I apologize if I've asked this before and forgot. I have a bean that has a log4j logger. How do I turn on debug just for that bean. I've tried adding the following to log4j.xml with no luck. <category name="com.armanta.ejb.asset.AssetMasterBean"> <priority value="DEBUG"/> </category> Eric J. Kaplan Armanta, Inc. 350 Mt. Kemble Ave. Morristown, NJ 07960 ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user