This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

Log 4j

Anand Shivadas

Joined: Oct 17, 2000
Posts: 22
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.
Have you checked out Aspose?
subject: Log 4j
It's not a secret anymore!