https://issues.apache.org/bugzilla/show_bug.cgi?id=46388
Summary: Layout ignoresThrowable Documentation mismatch
implementation
Product: Log4j
Version: 1.2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Appender
AssignedTo: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]