Hi All, I have a problem getting log4j1.1.3 to work for different applications using JRUN 2.3.3. I have an initialization servlet setup for each application in JRun. I configure log4j using the PropertyConfigurator in the servlets. I'm preloading the servlets, which means that the init() gets executed when you restart JRun and it is not necessary to access the servlet to run init(). I have separate config files for each application, where I've setup different appenders for each . When I try running the applications simultaneously, log4j seems to use the most recent config file that was initialized, instead of two separate ones. Is there a way that I can differentiate between the two config files? I've created a new class ICLogger for logging. I have a static variable defined in this class as,
public static Category LMESSAGE = Category.getInstance("ICLOGGER"); My applications use this Category for logging. ICLogger.LMESSAGE.debug(message) etc. Is there a way to get log4j to recognise the application context, so that it knows which config file to use for a particular application? Thanks in advance, Ranjini. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>