[ 
https://issues.apache.org/jira/browse/LOG4J2-2632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Volkan Yazici resolved LOG4J2-2632.
-----------------------------------
    Resolution: Fixed

> 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: Documentation
>          Components: Pattern Converters
>    Affects Versions: 2.11.1
>            Reporter: Simon Charette
>            Assignee: Volkan Yazici
>            Priority: Minor
>             Fix For: 2.25.0
>
>
> 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.10#820010)

Reply via email to