Xilai Dai created CXF-9094:
------------------------------
Summary: 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
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)