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

ASF subversion and git services commented on LOG4J2-2631:
---------------------------------------------------------

Commit 1e726c20e71e9aca7b5c1f4d568bd3fabd189076 in logging-log4j2's branch 
refs/heads/release-2.x from Carter Kozak
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=1e726c2 ]

LOG4J2-2631: RoutingAppender PurgePolicy implementations don't remove 
referenced appenders

Note that this makes a behavior change to RoutingAppender.getAppenders
where Routes based on appender references are no longer included.
PurgePolicy implementations should be entirely unaware of the
existance of reference based routes because those appenders may
be used elsewhere in the configuration.


> RoutingAppender purge policy should only stop appenders that the 
> RoutingAppender has created
> --------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-2631
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2631
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.11.2
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Routing to other appenders linked by reference rather than creation by node 
> shouldn't cause the purge policy to stop the appender. These appenders should 
> probably be immune from purging altogether.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to