[
https://issues.apache.org/jira/browse/LOG4J2-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419505#comment-15419505
]
Gary Gregory commented on LOG4J2-1512:
--------------------------------------
Before I dig in:
We have an inconsistency here.
We already have plugins that support an attribute called "ignoreExceptions"
(AbstractAppender.ignoreExceptions)
Can we keep the naming the same? IOW, use "ignoreExceptions" instead of
"includeStacktrace" (and flip the Boolean value)?
Gary
> Option to exclude stack trace from some layouts
> -----------------------------------------------
>
> Key: LOG4J2-1512
> URL: https://issues.apache.org/jira/browse/LOG4J2-1512
> Project: Log4j 2
> Issue Type: Improvement
> Components: Layouts
> Affects Versions: 2.6.2
> Reporter: Mikael Ståldal
> Assignee: Mikael Ståldal
> Priority: Minor
> Fix For: 2.7
>
>
> GelfLayout have an option {{includeStacktrace}} to make it possible to
> exclude the stacktrace. This is useful since the stacktrace can be very large.
> This could be useful for other layouts as well: JsonLayout, XmlLayout,
> YamlLayout. Maybe CsvLogEventLayout and HtmlLayout?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]