[jira] [Commented] (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] [Commented] (CXF-8354) Logs not redirecting to Log4J

Andriy Redko (Jira)

    [ https://issues.apache.org/jira/browse/CXF-8354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17210391#comment-17210391 ]

Bastien Jansen commented on CXF-8354:
-------------------------------------

PR available at https://github.com/apache/cxf/pull/709

> 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
>            Priority: Major
>
> {{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)