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?