logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46388] New: Layout ignoresThrowable Documentation mismatch implementation
Date Fri, 12 Dec 2008 16:10:38 GMT

           Summary: Layout ignoresThrowable Documentation mismatch
           Product: Log4j
           Version: 1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: felipecrp@gmail.com

According to the documentation [1] the method ignoresThrowable() from
org.apache.log4j.Layout class should force the appender to not print the
stacktrace if the method return code is true. 

But in org.apache.log4j.net.SyslogAppender the behavior is just the oposite. It
may happen with other appenders.

The problem appear to be in the line 332: if (layout.ignoresThrowable()) {

Best regards,
Felipe Pinto

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message