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