You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bastien Jansen (Jira)" <ji...@apache.org> on 2020/10/08 18:50:00 UTC

[jira] [Created] (CXF-8354) Logs not redirecting to Log4J

Bastien Jansen created CXF-8354:
-----------------------------------

             Summary: Logs not redirecting to Log4J
                 Key: CXF-8354
                 URL: https://issues.apache.org/jira/browse/CXF-8354
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 3.4.0
            Reporter: Bastien Jansen


{{Log4jLogger}} was removed in CXF-8264, but {{LogUtils}} is still trying to instantiate it when SLF4J has a binding for Log4J or JCL->Log4J.

As a result, when both slf4j and log4j-slf4j-impl are in the classpath, CXF still sends logs to JUL.

{{LogUtils}} should always use {{Slf4jLogger}} instead.

I will submit a PR on GitHub to fix this.



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