Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: OW2 Bundles 1.0.3
-
Fix Version/s: OW2 Bundles 1.0.7
-
Component/s: Third Party Bundles
-
Labels:None
-
Environment:Easybeans 1.0 OSGI - Hibernate - Equinox 3.4SDK - OSX 10.5.3 - JDK 1.5
Description
it should be possible to configure the Log Implementation, per example using Log4J
I want to use com.springsource.org.apache.log4j-1.2.15.jar + com.springsource.org.apache.commons.logging-1.1.1.jar
instead of
ow2-bundles-externals-commons-logging-1.0.5.jar
if I'm doing this at the moment I got an error
org.apache.commons.logging.LogConfigurationException: No suitable Log implementation
ekke
see also
http://www.nabble.com/using-log4j-in-EZB-OSGI-%28equinox%29-to17624871.html
I want to use com.springsource.org.apache.log4j-1.2.15.jar + com.springsource.org.apache.commons.logging-1.1.1.jar
instead of
ow2-bundles-externals-commons-logging-1.0.5.jar
if I'm doing this at the moment I got an error
org.apache.commons.logging.LogConfigurationException: No suitable Log implementation
ekke
see also
http://www.nabble.com/using-log4j-in-EZB-OSGI-%28equinox%29-to17624871.html
Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log implementation
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:842)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.apache.commons.modeler.Registry.<clinit>(Registry.java:85)
... 31 more
...adding some bundles working with log4j and then it happens again
did tests with 1.0.1, 1.1.0, Eclipse + Equinox 3.4, OSX 10.5.4 - jdk 1.5
THX for looking into this
ekke