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 "Matej Vitásek (JIRA)" <ji...@apache.org> on 2014/04/01 15:10:15 UTC

[jira] [Created] (LOG4J2-590) HTMLLayout filter stacktrace

Matej Vitásek created LOG4J2-590:
------------------------------------

             Summary: HTMLLayout filter stacktrace
                 Key: LOG4J2-590
                 URL: https://issues.apache.org/jira/browse/LOG4J2-590
             Project: Log4j 2
          Issue Type: Wish
            Reporter: Matej Vitásek


As far as I can tell, there is no way to filter stacktrace elements in the HTMLLayout - unlike with the PatternLayout. I propose to make this possible, ideally re-using the property that one uses in the PatternLayout:

{noformat}
<properties>
  <property name="filters">org.junit,org.apache.maven,sun.reflect,java.lang.reflect</property>
</properties>
...
<PatternLayout pattern="%m%xEx{filters(${filters})}%n"/>
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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