You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/01/07 19:59:00 UTC

[jira] [Commented] (LOG4J2-3270) Interpolator defaults should use only configuration properties

    [ https://issues.apache.org/jira/browse/LOG4J2-3270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470860#comment-17470860 ] 

ASF subversion and git services commented on LOG4J2-3270:
---------------------------------------------------------

Commit 36511ac01d899f0ae76abe6176b4237d57885cc4 in logging-log4j2's branch refs/heads/master from Carter Kozak
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=36511ac ]

LOG4J2-3270 Provide separation between MapMessage and properties lookups

MapLookup includes special handling for MapMessages in addition
to the configuration properties map. This change aims to prevent
unwanted interactions between these two concerns.


> Interpolator defaults should use only configuration properties
> --------------------------------------------------------------
>
>                 Key: LOG4J2-3270
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3270
>             Project: Log4j 2
>          Issue Type: Improvement
>    Affects Versions: 2.17.0
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Major
>             Fix For: 2.17.1
>
>
> The MapLookup is currently used, but it should check MapMessage prior to the property fallback, however that would have consequences in places the properties are used as a simple place to define reusable values.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)