[
https://issues.apache.org/jira/browse/LOG4J2-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Das Archive updated LOG4J2-99:
------------------------------
Attachment: MapRewritePolicy.patch
Added patch to fix the issue
> 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
> Attachments: MapRewritePolicy.patch
>
> Original Estimate: 5m
> Remaining Estimate: 5m
>
> 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".
--
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]