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

Ralph Goers resolved LOG4J2-99.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-beta3

Thanks for the patch!  It was applied in revision 1400243. Please verify and 
close.
                
> MapRewritePolicy always behaves like mode "Add"
> -----------------------------------------------
>
>                 Key: LOG4J2-99
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-99
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders
>    Affects Versions: 2.0-beta2
>            Reporter: Das Archive
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.0-beta3
>
>         Attachments: MapRewritePolicy.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> Hello!
> The "rewrite" method of 
> org.apache.logging.log4j.core.appender.rewrite.MapRewritePolicy always calls
> newMap.putAll(map);
> which causes the mode "Update" to also behave like mode "Add".
> Best Regards,
> Das

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to