Hello,

I am wondering if it is possible to separate logging based on thread names? I 
would like logs generated by every thread to go into distinct log files, one 
log file per thread e.g FILE-${thread}.log. I know that I can have all threads 
write to a single log file and then grep on thread name, but want to know if 
there is a better approach.

I have tried SiftingAppender and put the thread name into the MDC in each 
thread, but it didn't work.

Thanks
                                          
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user

Reply via email to