Details
Description
The commons-logging bundle is missing an import package declaration on org.apache.logging.log4j.spi, is only imports has an import package declaration to org.apache.logging.log4j.
We are running commons-logging 1.3.2 in Eclipse Equinox with Log4j API (org.apache.logging.log4j.api) present. This triggers the loading of org.apache.commons.logging.impl.Log4jApiLogFactory, however this fails because an import package declaration on org.apache.logging.log4j.spi is missing.
It seems to be introduced by https://github.com/apache/commons-logging/pull/177
The issue is similar to https://github.com/eclipse-mylyn/org.eclipse.mylyn/issues/373 but instead of org.slf4j.spi.LocationAwareLogger not being found the class not being found is org.apache.logging.log4j.spi.LoggerAdapter.
The stack trace looks similar to LOGGING-192 but I do not assume this bug is OSGi related.
Attachments
Issue Links
- links to