logging one thread in Java using log4j

Posted by Javier on Stack Overflow See other posts from Stack Overflow or by Javier
Published on 2010-06-15T23:33:23Z Indexed on 2010/06/15 23:42 UTC
Read the original article Hit count: 212

Filed under:
|
|
|

I have an web application written in Java, and I have a thread-pool.

The application is huge, and I cannot make major changes, for example, I cannot change log4j.

I am executing a batch process in the thread pool, and I want to log everything that goes is executed to execute that process.

There will always be just one thread active in the thread pool.

Any ideas of how can I do that?

© Stack Overflow or respective owner

Related posts about java

Related posts about multithreading