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

 

Reply via email to