[
https://issues.apache.org/jira/browse/LOG4J2-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956629#comment-13956629
]
Ralph Goers commented on LOG4J2-590:
------------------------------------
Matt, that sounds good but in practice I have no idea how it could work since
one layout completely renders a log event and then next will try to re-render
the logevent into something else. In this case it sounds like he would like
some portion of the HTMLLayout to accept PatternLayout converters (or use the
PatternLayout to render a column).
> 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]