Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3204

SpringLookup not found while Interpolator initializing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.14.1
    • None
    • Core
    • 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

          Activity

            People

              vy Volkan Yazici
              Francis_FY francis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: