You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Mikael Ståldal (JIRA)" <ji...@apache.org> on 2016/08/12 10:28:20 UTC
[jira] [Commented] (LOG4J2-1512) Option to exclude stack trace from
some layouts
[ https://issues.apache.org/jira/browse/LOG4J2-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15418639#comment-15418639 ]
Mikael Ståldal commented on LOG4J2-1512:
----------------------------------------
This would improve the customability of JsonLayout a bit.
> 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
> Priority: Minor
>
> 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org