This content has been marked as final.
Show 3 replies
-
2. Re: log4j.properties in ear ignored
smpub2000 Apr 24, 2008 1:25 PM (in response to smpub2000)From reading: "http://wiki.jboss.org/wiki/Log4jRepositorySelector", I believe that the repository selector method is the preferred way, over class loader configuration, to solve this issue. However the article in the url above does not specify whether it can be adapted for an EAR. Any thoughts and ideas on how it can be adapted for a EAR (perhaps through a startup servlet).
I would like to go the "Repository Selector" way, cos when I try scoping, log4j starts working but other third party products stop working :-). -
3. Re: log4j.properties in ear ignored
smpub2000 Apr 24, 2008 4:01 PM (in response to smpub2000)...Continued from previous post: The ear file contains both EJB jars and war apps. I am writing a web-UI where admins can go and change log4j levels dynamically, so I need to get the log4j levels for the EAR context .