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/[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 base from.

I know about the following options:

- MDC, then post-process the log file created to create thread- specific log files

- Create appender at run-time, and set to a thread local variable


But before I go down those paths I wanted to see if the community had come up with anything for this problem.

Nothing specific that I know of since I wrote that email.

Love to hear how you end up solving this.

cheers,

Paul Smith

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to