[slf4j-dev] [JIRA] (SLF4J-443) Log4JLogger from commons-logging is absent in jcl-over-slf4j
QOS.CH (JIRA)
noreply-jira at qos.ch
Fri Sep 7 14:51:00 CEST 2018
Vitalii Diravka created SLF4J-443:
-------------------------------------
Summary: Log4JLogger from commons-logging is absent in jcl-over-slf4j
Key: SLF4J-443
URL: https://jira.qos.ch/browse/SLF4J-443
Project: SLF4J
Issue Type: Improvement
Components: jcl-over-slf4j
Affects Versions: 1.8.0-beta2, 1.7.25
Environment: All
Reporter: Vitalii Diravka
Assignee: SLF4J developers list
In the process of updating hadoop libraries in Apache Drill project I faced the following issue:
java.lang.NoClassDefFoundError: org/apache/commons/logging/impl/Log4JLogger.
hadoop-hdfs uses commons-logging library, but Drill uses jcl-over-slf4j and bans commons-logging.
https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/common/MetricsLoggerTask.java#L152
Looks like the presence of Log4JLogger class in org.apache.commons.logging.impl of jcl-over-slf4j could resolve the issue.
https://github.com/qos-ch/slf4j/tree/master/jcl-over-slf4j/src/main/java/org/apache/commons/logging/impl
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
More information about the slf4j-dev
mailing list