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 2019/06/18 04:49:00 UTC
[jira] [Commented] (LOG4J2-1143) Lookup Plugin not found
[ https://issues.apache.org/jira/browse/LOG4J2-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866227#comment-16866227 ]
ASF subversion and git services commented on LOG4J2-1143:
---------------------------------------------------------
Commit a910cef76f772033b7f8784c384ee03449be184f in logging-log4j2's branch refs/heads/release-2.x from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=a910cef ]
LOG4J2-1143 - Lookups were not found if the plugin key was not lowercase
> Lookup Plugin not found
> -----------------------
>
> Key: LOG4J2-1143
> URL: https://issues.apache.org/jira/browse/LOG4J2-1143
> Project: Log4j 2
> Issue Type: Improvement
> Components: Lookups
> Affects Versions: 2.4
> Environment: Java 1.8, Win64
> Reporter: Pascal Heinrich
> Assignee: Ralph Goers
> Priority: Minor
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> If I define a custom Plugin for Lookups it is recognized by log4j2 but the Interpolator class does not find the Plugin.
> Interpolator.lookup(...) tries to find the key inside its lookups Map but the key in the map is .toLowerCase() and the extracted prefix not. So there is no match.
> Defining my Plugin name with lower chars is working.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)