You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Matthew McMahon (Jira)" <ji...@apache.org> on 2021/08/25 07:44:00 UTC

[jira] [Created] (LOG4J2-3147) Kuberenetes Lookup referring to wrong Spring classname

Matthew McMahon created LOG4J2-3147:
---------------------------------------

             Summary: Kuberenetes Lookup referring to wrong Spring classname
                 Key: LOG4J2-3147
                 URL: https://issues.apache.org/jira/browse/LOG4J2-3147
             Project: Log4j 2
          Issue Type: Bug
    Affects Versions: 2.14.0
            Reporter: Matthew McMahon


I am having trouble getting the Kubernetes Lookup to work in my Spring Boot app.

I've noticed that isSpringIncluded is getting set to false, as the class in question has changed it's package name, and lives in log4j-spring-boot.

{code}
private static final boolean isSpringIncluded = LoaderUtil.isClassAvailable("org.apache.logging.log4j.spring.cloud.config.client.SpringEnvironmentHolder");
{code}

This probably needs to be updated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)