Re: Thread specific appender for webapp (also "using separate log files for threads")

2008-06-03 Thread James A. N. Stauffer
You might be able to extend FileAppender On Wed, May 28, 2008 at 9:23 AM, Armin Häberling <[EMAIL PROTECTED]> wrote: > Curt Arnold wrote: >> >> On May 26, 2008, at 6:52 AM, Armin Häberling wrote: >> >>> Hi all, >>> >>> I'm facing the following problem. We have a tomcat instance with multiple >>> w

Re: Thread specific appender for webapp

2008-05-28 Thread Jacob Kjome
See... http://wiki.apache.org/logging-log4j/AppContainerLogging And avoid Logger Repository Selectors which perform selection based on Classloader.  Use JNDI instead. Jake On Wed, 28 May 2008 17:59:33 +0300 Juha Laiho <[EMAIL PROTECTED]> wrote: Armin Häberling wrote: I'm facing the followi

Re: Thread specific appender for webapp

2008-05-28 Thread Juha Laiho
Armin Häberling wrote: I'm facing the following problem. We have a tomcat instance with multiple webapps. The apps share many libraries in shared/lib directory, some of them use log4j and some apache commons-logging. Currently all the apps log to the same log file, which is suboptimal. We lik

Re: Thread specific appender for webapp (also "using separate log files for threads")

2008-05-28 Thread Armin Häberling
Curt Arnold wrote: On May 26, 2008, at 6:52 AM, Armin Häberling wrote: Hi all, I'm facing the following problem. We have a tomcat instance with multiple webapps. The apps share many libraries in shared/lib directory, some of them use log4j and some apache commons-logging. Currently all th

Re: Thread specific appender for webapp (also "using separate log files for threads")

2008-05-26 Thread Curt Arnold
On May 26, 2008, at 6:52 AM, Armin Häberling wrote: Hi all, I'm facing the following problem. We have a tomcat instance with multiple webapps. The apps share many libraries in shared/lib directory, some of them use log4j and some apache commons-logging. Currently all the apps log to the

Thread specific appender for webapp

2008-05-26 Thread Armin Häberling
Hi all, I'm facing the following problem. We have a tomcat instance with multiple webapps. The apps share many libraries in shared/lib directory, some of them use log4j and some apache commons-logging. Currently all the apps log to the same log file, which is suboptimal. We like to have one

RE: Thread Specific Appender

2008-04-10 Thread Britton, David
rested in each thread creating a thread-specific appender so that log messages that integrate into the log4j framework can be copied into that thread-specific log file. We also want this to be configurable to a certain extent in the log4j.xml file. These jobs are created dynamically, and there w

Re: Thread Specific Appender

2008-04-10 Thread Paul Smith
I actually don't need it.. Someone else needed it and I just proposed an idea. cheers, Paul On 10/04/2008, at 5:09 PM, Britton, David wrote: Paul Smith wrote: Nothing specific that I know of since I wrote that email. Love to hear how you end up solving this. Hi Paul -- How were you wa

RE: Thread Specific Appender

2008-04-10 Thread Britton, David
Paul Smith wrote: > > Nothing specific that I know of since I wrote that email. > > Love to hear how you end up solving this. > Hi Paul -- How were you wanting your per-thread logging to work (high-level)? I do have something set up now that will work for my application but was wondering a bit

Re: Thread Specific Appender

2008-04-09 Thread Paul Smith
.mbox/[EMAIL PROTECTED] This thread seems to state that there could be some prototype code for a thread-specific appender that is "out there" some where. Does anyone have some code that does this right now? Even if it wasn't pretty, I would be interested in looking at it to

Thread Specific Appender

2008-04-09 Thread Britton, David
there could be some prototype code for a thread-specific appender that is "out there" some where. Does anyone have some code that does this right now? Even if it wasn't pretty, I would be interested in looking at it to base from. I know about the following options: - MDC, then