logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1743) CompositeConfiguration not adding filters to appenderRefs
Date Fri, 16 Dec 2016 20:25:58 GMT

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

Gary Gregory commented on LOG4J2-1743:
--------------------------------------

Consider subscrbing to our dev mailing list to stay abreast of our release plans.

> CompositeConfiguration not adding 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
>
> 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


Mime
View raw message