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-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to