RE: [SPAM (Bayesain Analysis)] - Logger object and change filename - Bayesian Filter detected spam

2008-09-09 Thread Bender Heri
Loggers do not have file names attached. Probably you mean a FileAppender. Each configured Appender is instantiated as singleton, even if it is attached to more than one Logger. Loggers are identified by a arbitrary String, commonly the FQCN. Therefore you cant clone a Logger which has the same

Re: [SPAM (Bayesain Analysis)] - Logger object and change filename - Bayesian Filter detected spam

2008-09-09 Thread Reza Razavipour
Ok, let me explain more... I have a set of elements, a queue of them...I have a thread pool of processors. A processor takes an element from the queue and logs some information about them. So what I need to do is to log the information about element XYZ to a file called XYZ.log and for element

Re: [SPAM (Bayesain Analysis)] - Logger object and change filename - Bayesian Filter detected spam

2008-09-09 Thread Jacob Kjome
Search the list for MultiFileAppender or something to the effect of per-thread logging based on MDC values. Jake On Tue, 9 Sep 2008 09:00:53 -0700 Reza Razavipour [EMAIL PROTECTED] wrote: Ok, let me explain more... I have a set of elements, a queue of them...I have a thread pool of

Re: [SPAM (Bayesain Analysis)] - Logger object and change filename - Bayesian Filter detected spam

2008-09-09 Thread Reza Razavipour
I have, I just don't see how that works for my case??? Reza On Tue, Sep 9, 2008 at 9:28 AM, Jacob Kjome [EMAIL PROTECTED] wrote: Search the list for MultiFileAppender or something to the effect of per-thread logging based on MDC values. Jake On Tue, 9 Sep 2008 09:00:53 -0700 Reza