[
https://issues.apache.org/jira/browse/LOG4J2-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Piotr Karwasz updated LOG4J2-2632:
----------------------------------
Fix Version/s: 2.17.3
> Package filter not working with %ex conversion pattern
> ------------------------------------------------------
>
> Key: LOG4J2-2632
> URL: https://issues.apache.org/jira/browse/LOG4J2-2632
> Project: Log4j 2
> Issue Type: Bug
> Components: Pattern Converters
> Affects Versions: 2.11.1
> Reporter: Simon Charette
> Assignee: Piotr Karwasz
> Priority: Major
> Fix For: 2.17.3
>
>
> When using this log pattern in a RollingFile appender, the packages are not
> filtered out:
> {code:java}
> %5p %d [%t] (%F:%L) %c -
> %m%ex{filters(org.apache.tomcat.util,org.apache.catalina,org.apache.coyote)}%n{code}
> If instead I use:
> {code:java}
> %5p %d [%t] (%F:%L) %c -
> %m%xEx{filters(org.apache.tomcat.util,org.apache.catalina,org.apache.coyote)}%n{code}
> then they are filtered out.
> According to the documentation both should work.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)