File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes Log4j Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j" Watch "Log4j" New topic


manoj achari

Joined: Aug 04, 2008
Posts: 5
HI all, Thanks in advance
I have a simple java program which creates multiple child threads (no.of threads depends on input string if input has three string then three threads would be created)..I m using Log4j for logging , i want to create a log file in each of the thread and log its respective thread content in it , but the problem is since i m using single properties file and each time a thread created im creating a logger instance and setting the properties , i m not able to get the appropriate thread content in its respective log file

manoj kumar
Kuladip Yadav
Ranch Hand

Joined: Jul 30, 2008
Posts: 162

Can you check this, it may be helpful for you.

I agree. Here's the link:
subject: Log4j
It's not a secret anymore!