[Bug 202] New: does not implement the org.apache.log4j.xml package

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: slf4j-dev@qos.ch ReportedBy: jameskpublic@yahoo.com 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.

http://bugzilla.slf4j.org/show_bug.cgi?id=202 Ceki Gulcu <listid@qos.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Ceki Gulcu <listid@qos.ch> 2010-10-16 09:24:51 --- log4j-over-slf4j is an incomplete replacement for log4j. More importantly, it makes no sense to have log4j-over-slf4j.jar and log4j.jar present on the class path at the same time. Please jave a look at [1] and [2]. [1] http://slf4j.org/manual.html [2] http://slf4j.org/legacy.html -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@pixie.qos.ch