Re: LOG4J - Different priority messages to different files

2007-11-01 Thread James A. N. Stauffer
You shouldn't need to use incorrect levels in your classes. Just attach one appender to the Job logger and another appender to the Address and User loggers. On 11/1/07, Jimmy Mehta <[EMAIL PROTECTED]> wrote: > > > Hey James , > > Thanks for you reply now i find another way that , i have three cla

Re: LOG4J - Different priority messages to different files

2007-11-01 Thread Jimmy Mehta
Hey James , Thanks for you reply now i find another way that , i have three classes Job , Address , User. Now i want to put All messages of Job class into separate file and all Address messages to another file and same as in User. So if i set priority level in Job class like warn so all fatal , e

Programmatically starting a new log file

2007-11-01 Thread Cheung, Quinn
If I have a system configured to append to a normal file appender, is there some way to programmatically "force" the start of a new file on disk and to specify the name (such as the date/time)? Thanks! - To unsubscribe, e-mail:

RE: appenders with thread id affinity

2007-11-01 Thread Bender Heri
Hi I also suggest the approach with using MDC and custom filter. You probably want the outputs from each thread in separate files. If so, you have two possibilities: 1. Implementing a own RepositorySelector which holds different repositories for each thread / thread sub group. 2. Creating and c