You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2025/01/11 16:00:00 UTC

[jira] [Resolved] (CXF-9094) Hard coded "org.slf4j.impl.StaticLoggerBinder" of slf4j 1.x in LogUtils

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

Andriy Redko resolved CXF-9094.
-------------------------------
    Resolution: Fixed

> Hard coded "org.slf4j.impl.StaticLoggerBinder" of slf4j 1.x in LogUtils
> -----------------------------------------------------------------------
>
>                 Key: CXF-9094
>                 URL: https://issues.apache.org/jira/browse/CXF-9094
>             Project: CXF
>          Issue Type: Bug
>          Components: logging
>    Affects Versions: 4.1.0
>            Reporter: Xilai Dai
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 4.0.7, 4.1.1
>
>
> Here https://github.com/apache/cxf/blob/cxf-4.1.0/core/src/main/java/org/apache/cxf/common/logging/LogUtils.java#L101
> {code}
> Class.forName("org.slf4j.impl.StaticLoggerBinder");
> {code}
> "org.slf4j.impl.StaticLoggerBinder" is a class from slf4j log4j 1.x impl (log4j-slf4j-impl).
> After upgraded to slf4j 2.x in scope of CXF-8755, the impl class from log4j-slf4j2-impl needs to be considered here. (SPI mechanism "org.apache.logging.slf4j.SLF4JServiceProvider")



--
This message was sent by Atlassian Jira
(v8.20.10#820010)