Is the Logger in ur class being initialized by the full class name as its logger hierarchy? Like: (AssetMasterBean.getClass().getName())
--- Pooja.
-----Original Message-----
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-----
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
|
- [JBoss-user] log4j DEBUG Eric J Kaplan
- RE: [JBoss-user] log4j DEBUG Eric J Kaplan
- RE: [JBoss-user] log4j DEBUG Scott M Stark
- Re: [JBoss-user] log4j DEBUG Giovanni Formenti
- RE: [JBoss-user] log4j DEBUG Eric J Kaplan