Re: Questions re multiple configurations, multiple log files

2002-10-19 Thread Jacob Kjome
Thanks Don, Yes, that definitely does help. It is nice to know what design has worked for someone else. I'll try to implement this in Tomat. I remember that someone suggested a standard Log4jInit servlet be included in the Log4j package since so many people need it. Might I suggest the sam

Re: Questions re multiple configurations, multiple log files

2002-10-18 Thread donald larmee
Your situation might be a little different than mine (I am not using CATALINA, but rather a custom mini-AppServer...),so YMMV a bit... Well, you certainly could keep a handle to the original CRS object... but there are some other options as well: - I use a WeakHashMap to store the Hierarchies

Re: Questions re multiple configurations, multiple log files

2002-10-18 Thread Jacob Kjome
I am very interested in learning how you implemented you RepositorySelector. I posted a question about this the other day but got no response. I put the RespostorySelector described by Ceki's article in $CATALINA_HOME/shared/lib and inited it as he described my my app's Log4jInit servlet.

Re: Questions re multiple configurations, multiple log files

2002-10-18 Thread donald larmee
Re: Multiple config files... I have recently had to solve the same problem.. i.e., I have an AppServer (of sorts) that needs its own log4j configuration, and then some number of applications that will run 'inside' the AppServer, each of which is to have its own configuration file. The solution

Questions re multiple configurations, multiple log files

2002-10-18 Thread Chris Bailey
I have an application, or rather, set of applications that use log4j extensively for logging. In general, there is a "service" wrapper on each application, and then the app. What I wanted was for the service to have a log4j config file and do it's logging based on that, and then the application t

RE: Multiple configurations

2002-02-20 Thread Swami Iyer
It depends on what you are using, if you are using this from a servlet then you have to make sure that the log4j is not loaded by any other classloader other than the webapps context classloader and you have to put the log4j.jar in the webapps context lib directory. Thanks, Swami > -Original

Re: Multiple Configurations

2001-02-27 Thread arh14
With a little bit of RTM, I have solved my "multiple configurations" problem. Really all one needs to do is to define appenders on a per-category basis (and optionally set the additivity flag if one doesn't want package-specific logging messages to flow back to the top-level application log)