You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Das Archive (JIRA)" <ji...@apache.org> on 2012/10/16 16:07:03 UTC

[jira] [Updated] (LOG4J2-99) MapRewritePolicy always behaves like mode "Add"

     [ 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org