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

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

     [ https://issues.apache.org/jira/browse/CXF-8354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colm O hEigeartaigh updated CXF-8354:
-------------------------------------
    Fix Version/s: 3.4.1

> 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
>            Assignee: Colm O hEigeartaigh
>            Priority: Major
>             Fix For: 3.4.1
>
>
> {{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)