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 "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/08/23 18:02:21 UTC
[jira] [Comment Edited] (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=15433300#comment-15433300 ]
Gary Gregory edited comment on LOG4J2-1512 at 8/23/16 6:02 PM:
---------------------------------------------------------------
+1 to a better name but I am not sure "print" is quite right since some layouts are not "printable" but I do not have a better suggestion ATM.
was (Author: garydgregory):
+1
> 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org