Use a custom repository selector. There are two available in the log4j-sandbox project. Read about them here:
http://nagoya.apache.org/wiki/apachewiki.cgi?Log4JProjectPages/AppContainerLogging
Note that here, you might need to install a repository selector at app or server startup. Not entirely sure what deployment of .ear files allow for (whether there is some application startup event that is analogous to a servlet context listener for servlets).
Also, in case you use JBoss, here is an informative doc on the class loading it uses...
http://umn.dl.sourceforge.net/sourceforge/jboss/ClassLoading.pdf
Jake
At 02:31 PM 9/2/2003 +0200, you wrote:
Hello,
I have two modules, which are using Log4J. The problem is, that the output from MOD1 is mixed with the output of MOD2 (MOD2 is also a standalone application). These two modules are added into an EAR-file. So I have also only one log4j.jar included.
What is the best way, to isolate the Log4J configuration of modules? Any ideas?
Juraj
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
