Re: Thread specific logging

2022-01-23 Thread Gary Gregory
Sounds like a job for a routing appender, see https://logging.apache.org/log4j/2.x/manual/appenders.html#RoutingAppender Gary On Sun, Jan 23, 2022, 20:40 John Lussmyer wrote: > I have an application where we launch various worked threads - which may > launch more threads. > We need to be able

Thread specific logging

2022-01-23 Thread John Lussmyer
I have an application where we launch various worked threads - which may launch more threads. We need to be able to have all the logging from a worker and it's children go into a separate file. Workers are dynamically created and end after their job is finished. Any suggestions on how to configu