[
https://issues.apache.org/jira/browse/LOG4J2-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Das Archive updated LOG4J2-99:
------------------------------
Description:
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
was:
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".
> 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
>
> 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]