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

RE: Thread Specific Appender

2008-04-10 Thread Britton, David
Paul Smith wrote: > I actually don't need it.. Someone else needed it and I just proposed > an idea. > I see -- yes, sorry about that. :) Here is the solution that I had come up with: I currently have a small job-scheduling framework that launches jobs in threads. We are interested in each thr

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
On 10/04/2008, at 2:51 AM, Britton, David wrote: Hi -- I'm working on a project where we need to create a new log file for each thread we spawn. In researching how to do this, I ran across the following thread: http://mail-archives.apache.org/mod_mbox/logging-log4j-user/200710.mbox/[EMA