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

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

Commit 65c367dc3d45ac6b8185127b28bdc04c2f335a3c in logging-log4j2's branch 
refs/heads/master from Francis
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=65c367d ]

LOG4J2-3204 Correct SpringLookup package name in Interpolator. (#617)



> SpringLookup not found while Interpolator initializing
> ------------------------------------------------------
>
>                 Key: LOG4J2-3204
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-3204
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.14.1
>            Reporter: francis
>            Priority: Critical
>
> Class SpringLookup has been moved to package 
> 「org.apache.logging.log4j.spring.boot」in version 2.14, but the constructor of 
> class org.apache.logging.log4j.core.lookup.Interpolator is still trying to 
> load org.apache.logging.log4j.spring.cloud.config.client.SpringLookup.   So 
> SpringLookup will never work  properly.
>  
> Here is the issue code:
>  
> {code:java}
>         try {
>             strLookupMap.put(LOOKUP_KEY_SPRING, 
> Loader.newCheckedInstanceOf("org.apache.logging.log4j.spring.cloud.config.client.SpringLookup",
>  StrLookup.class));
>         } catch (final Exception ignored) {
>             handleError(LOOKUP_KEY_SPRING, ignored);
>         }{code}
>  



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

Reply via email to