Hi PP,

I would recommend the Sifting Appender. Use a marker or other property to 
discriminate which log file the log messages are directed towards.

Brett


On 12/09/2012, at 1:14 AM, "PixelPusher" <[email protected]> wrote:

> 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.
> 
> Thanks,
> Thom
> --
> -------------------------------------------------------
>   Man will occasionally stumble over the truth, but most of the time
>   he will pick himself up and continue.              -- Winston Churchill
> _______________________________________________
> Logback-user mailing list
> [email protected]
> http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to