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

Matej Vitásek commented on LOG4J2-590:
--------------------------------------

Ralph, absolutely correct. Let me customize the way HTMLLayout presents the 
information in ways that PatternLayout does.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to