dcsimg
How to setup log4j.xml in a war file in Jboss?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   chaohua_wang
Posted On:   Wednesday, November 9, 2005 11:18 AM

Hi Folks,

I wrote a log4j.xml, if I put it in Jboss_Homeserverdefaultconf, it takes effect. But I put it in my war file, in WEB-INFOclasses, it doesn't. it still uses the default log4j.xml in conf. Did I miss something ?

Thank you
Chaohua

Re: How to setup log4j.xml in a war file in Jboss?

Posted By:   Christopher_Koenigsberg  
Posted On:   Saturday, November 12, 2005 04:45 PM

JBoss's version of log4j was always annoying because it would use its own copy of the classes, with its own configuration settings.



Perhaps try "additivity=false" for your root logger?
About | Sitemap | Contact