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 "Pascal Heinrich (JIRA)" <ji...@apache.org> on 2015/10/01 11:49:26 UTC

[jira] [Created] (LOG4J2-1143) Lookup Plugin not found

Pascal Heinrich created LOG4J2-1143:
---------------------------------------

             Summary: 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
            Priority: Minor


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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org