Hi All,
I need to log the logs inside the Thread to separate Logs.
I have 2 Threads - Thread1, Thread2. These Threads are created by MyThreads() class. Whenever i try to Log using Log4j Logger instance, it is writing the logs only in one file, even though 3 log files are created.

I tried using 3 different instances of Logger for each class, but no success.

Is there any way to do this using LOG4J.

Thanks in advance.