You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2016/12/17 00:25:58 UTC
[jira] [Resolved] (LOG4J2-1743) CompositeConfiguration does not add
filters to appenderRefs
[ https://issues.apache.org/jira/browse/LOG4J2-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved LOG4J2-1743.
----------------------------------
Resolution: Fixed
Fix Version/s: 2.8
Thank you for the patch. In Git master. Please verify and close.
> CompositeConfiguration does not add filters to appenderRefs
> -----------------------------------------------------------
>
> Key: LOG4J2-1743
> URL: https://issues.apache.org/jira/browse/LOG4J2-1743
> Project: Log4j 2
> Issue Type: Bug
> Components: Configurators
> Affects Versions: 2.7
> Reporter: Toby Shepheard
> Fix For: 2.8
>
>
> When using composite configuration, if you specify a filter under logger's appenderRef, that filter will not be added. For example:
> {code}
> <Logger name="cat4" level="debug" additivity="false">
> <AppenderRef ref="File">
> <RegexFilter regex="TEST4"/>
> </AppenderRef>
> </Logger>
> {code}
> This is because the code does not copy grandchildren, only the immediate children of the logger are copied.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org