Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.14.1
-
None
-
None
Description
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:
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); }
Attachments
Issue Links
- links to