http://bugzilla.slf4j.org/show_bug.cgi?id=202
Summary: does not implement the org.apache.log4j.xml package
Product: SLF4J
Version: 1.6.x
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P2
Component: log4j-over-slf4j
AssignedTo: [email protected]
ReportedBy: [email protected]
the log4j-over-slf4j bridge doesn't implement the xml package of the underlying
log4j library.
This causes an error in the bindings that is results in a NoSuchMethodError run
time error.
the xml.DOMConfigurator class makes reference to the LogManager class. Since
the LogManager class is bound to the slf4j implementation, which does not
implement the getLoggerRepository() method, an error ensues.
java.lang.NoSuchMethodError:
org.apache.log4j.LogManager.getLoggerRepository()Lorg/apache/log4j/spi/LoggerRepository;
at
org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:743)
~[log4j-1.2.14.jar:na]
This can either be fixed by intercepting calls to the DOMConfigurator, or by
implementing the getLoggerRepository() method on the LogManager.
--
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
slf4j-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-dev