You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Volkan Yazici (Jira)" <ji...@apache.org> on 2021/12/24 13:58:00 UTC
[jira] [Assigned] (LOG4J2-3204) SpringLookup not found while Interpolator initializing
[ https://issues.apache.org/jira/browse/LOG4J2-3204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Volkan Yazici reassigned LOG4J2-3204:
-------------------------------------
Assignee: Volkan Yazici
> 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)