[jira] [Commented] (LOG4J2-1743) CompositeConfiguration not adding filters to appenderRefs
[ https://issues.apache.org/jira/browse/LOG4J2-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15755512#comment-15755512 ] Toby Shepheard commented on LOG4J2-1743: Thanks Gary, I've updated the PR to use new config files > 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} > > > > > > {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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org
[jira] [Commented] (LOG4J2-1743) CompositeConfiguration not adding filters to appenderRefs
[ https://issues.apache.org/jira/browse/LOG4J2-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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} > > > > > > {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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org
[jira] [Commented] (LOG4J2-1743) CompositeConfiguration not adding filters to appenderRefs
[ https://issues.apache.org/jira/browse/LOG4J2-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15755389#comment-15755389 ] Toby Shepheard commented on LOG4J2-1743: Ok I can do that, might not be today though. > 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} > > > > > > {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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org
[jira] [Commented] (LOG4J2-1743) CompositeConfiguration not adding filters to appenderRefs
[ https://issues.apache.org/jira/browse/LOG4J2-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15754976#comment-15754976 ] Gary Gregory commented on LOG4J2-1743: -- Thank you for your report and PR. I would prefer that the test use a new config file instead of piggy backing on an existing one, but that is just my style to make the tests simpler and more focused. > 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} > > > > > > {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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org
[jira] [Commented] (LOG4J2-1743) CompositeConfiguration not adding filters to appenderRefs
[ https://issues.apache.org/jira/browse/LOG4J2-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15754913#comment-15754913 ] Toby Shepheard commented on LOG4J2-1743: I've created a pull request to address this - first time doing this sort of thing here so please let me know if I need to do things differently. https://github.com/apache/logging-log4j2/pull/52 > 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} > > > > > > {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-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-dev-h...@logging.apache.org