so that each thread will only pick up its own
logger.
-Original Message-
From: Adrian Janssen
Sent: 14 November 2003 20:12
To: Log4J Users List
Subject: RE: Logging multiple threads to multiple files
No, I've tried that before. I ended up with 5 log files sharing the same
output
Do you have any insights to how I can accomplish this,
or maybe someone has done this before?
Ceki Gülcü <[EMAIL PROTECTED]> wrote:
Not without touching the core of log4j. But it can be
done.
At 10:19 AM 11/14/2003 -0800, wrote:
>I'm using log4j 1.2.8. I have a class that starts off
4 other threa
No, I've tried that before. I ended up with 5 log files sharing the same output.
Ed
"Sullivan, Sean C - MWT" <[EMAIL PROTECTED]> wrote:
Can you create a unique Logger object for each thread?
Thread1 would use a Logger called "Thread1Logger"
Thread2 would use a Logger called "Thread2Logger"
e
Can you create a unique Logger object for each thread?
Thread1 would use a Logger called "Thread1Logger"
Thread2 would use a Logger called "Thread2Logger"
etc
-Sean
> -Original Message-
> At 10:19 AM 11/14/2003 -0800, wrote:
> >I'm using log4j 1.2.8. I have a class that starts off
Not without touching the core of log4j. But it can be done.
At 10:19 AM 11/14/2003 -0800, wrote:
I'm using log4j 1.2.8. I have a class that starts off 4 other threads. So
I have 5 threads running, all at the same time. What I would like to do is
log the 5 threads into their own log files.
The
Okay, I've been playing around some more and came up with this.
I have a method that creates a properties object containing the Log4J key/value pairs:
/**
* Sets up a [EMAIL PROTECTED] Properties} object with the logger's information.
*
* @param sClass the name o