logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikael Ståldal (JIRA) <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1512) Option to exclude stack trace from some layouts
Date Sat, 13 Aug 2016 09:26:22 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15419856#comment-15419856

Mikael Ståldal commented on LOG4J2-1512:

This is about two different kind of exceptions, isn't it?

What I am working on is about throwables reported by the application through the Logger interface
and included in the log event. The ignoreException thing is about exceptions occuring in appenders
when they try to process a log event (such as IOException).

> 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

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message