This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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.
I agree. Here's the link:
subject: Log 4j
Similar Threads
Weblogic Cluster error logging
Configuring Log4j for an entire domain/container
Log4J issues
How to use Log4j with Swings app?
Log4j ...selective logging to appenders