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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Andriy Redko (Jira)
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)