Summary: | Layout ignoresThrowable Documentation mismatch implementation | ||
---|---|---|---|
Product: | Log4j - Now in Jira | Reporter: | Felipe <felipecrp> |
Component: | Appender | Assignee: | log4j-dev <log4j-dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.2 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Felipe
2008-12-12 08:10:37 UTC
The reference for the potentially misleading documentation was not provided, but I elaborated the Layout.ignoresThrowable javadoc. The SyslogAppender is properly interpreting the property. If Layout.ignoresThrowable is false, then the layout handles the throwable and the appender should not do anything with the throwable. If Layout.ignoresThrowable is true, then the layout does not do anything with the throwable and the appender is responsible for formatting the throwable. Committed rev 732766. |