You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2018/01/09 04:25:00 UTC

[jira] [Reopened] (LOG4J2-2177) Replace use of deprecated Core API org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder.setContextMap(Map)

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

Ralph Goers reopened LOG4J2-2177:
---------------------------------

Don't you run the full build when you make changes?  You broke PatternParserTest due to a changed line number. If you had run the test you surely would have noticed that.

> Replace use of deprecated Core API org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder.setContextMap(Map<String, String>)
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LOG4J2-2177
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2177
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 2.10.0
>            Reporter: Gary Gregory
>            Assignee: Gary Gregory
>             Fix For: 2.10.1
>
>
> Replace use of deprecated Core API {{org.apache.logging.log4j.core.impl.Log4jLogEvent.Builder.setContextMap(Map<String, String>)}}
> In order to implement this cleanly, the internal class {{org.apache.logging.log4j.core.impl.ContextDataFactory}} will change its API return values from {{StringMap}} to {{IndexedStringMap}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)