initializing log4j per thread

2007-07-26 Thread zaphod_beeblebrox

Hi All 

  I have a web application ( deployed on weblogic )  which runs jobs in a
quartz scheduler using a simple thread pool, 

  The problem is that each time a worker thread starts a scheduled job i
need to direct logging to a different file

   Each job is a instance of a different class 

 
  

  
-- 
View this message in context: 
http://www.nabble.com/initializing-log4j-per-thread-tf4152297.html#a11812604
Sent from the Log4j - Users mailing list archive at Nabble.com.


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



Re: initializing log4j per thread

2007-07-26 Thread James Stauffer
You may have to write your own appender for this.  It would be simliar
to people who want one log per user so you might find good suggestions
in the archive if you search for something like file per user.

On 7/26/07, zaphod_beeblebrox [EMAIL PROTECTED] wrote:

 Hi All

   I have a web application ( deployed on weblogic )  which runs jobs in a
 quartz scheduler using a simple thread pool,

   The problem is that each time a worker thread starts a scheduled job i
 need to direct logging to a different file

Each job is a instance of a different class





 --
 View this message in context: 
 http://www.nabble.com/initializing-log4j-per-thread-tf4152297.html#a11812604
 Sent from the Log4j - Users mailing list archive at Nabble.com.


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




-- 
James Staufferhttp://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

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