This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Log 4j 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 "Log 4j" Watch "Log 4j" New topic
Author

Log 4j

Anand Shivadas
Greenhorn

Joined: Oct 17, 2000
Posts: 22
Hi,
I have 5 loggers (Debug, error, all, info, warning), I’m using my own wrapper classes to use log 4j, when I try to write to log file (separately for each logger), it’s writing to all loggers and duplicating the log statements
Here is the example,
DebugLogger.log(priority, “Log statement” , then it writes this log statement to DebugLogger more than once and to other loggers as well
Am’ I missing any thing, please help me.
Thanks,
Anand
 
jQuery in Action, 2nd edition
 
subject: Log 4j