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

Volkan Yazici closed LOG4J2-3204.
---------------------------------

> 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
>            Assignee: Volkan Yazici
>            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