[logback-user] Separate log per thread?

PixelPusher pixelpusher at cox.net
Tue Sep 11 17:14:08 CEST 2012

I've been browsing through the documentation, but haven't found a solution for this problem. I have a java web app that takes some input from the currently logged in user and uses it to spawn off a thread to do some work. I need to have that thread generate its own log file with a name that is based on data that the user provided. Is there anything in logback that will help me do this?

A second issue will be giving the user permission to view the file, but I'll deal with that after I get the file generation working.

   Man will occasionally stumble over the truth, but most of the time
   he will pick himself up and continue.              -- Winston Churchill

More information about the Logback-user mailing list