[Bug 161] New: log4j-over-slf4j doesn't implement org.apache.log4j.spi. RootCategory

http://bugzilla.slf4j.org/show_bug.cgi?id=161 Summary: log4j-over-slf4j doesn't implement org.apache.log4j.spi.RootCategory Product: SLF4J Version: 1.5.x Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P1 Component: log4j-over-slf4j AssignedTo: dev@slf4j.org ReportedBy: boris@granveaud.com Some libraries (for example SmartGWT EE) use the classes located in package org.apache.log4j.spi. These classes should be emulated in log4j-over-slf4j. -- 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=161 --- Comment #1 from Ceki Gulcu <listid@qos.ch> 2009-12-02 17:44:32 --- The o.a.log4j.spi package contains 20 classes/interfaces. Please be more specific. From a message on the mailing list, we know that RootCategory and LoggerRepository classes are missing. Could you specify which method of LoggerRepository is missing? -- 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=161 --- Comment #2 from Boris Granveaud <boris@granveaud.com> 2009-12-02 17:50:58 --- I don't know exactly because all I've got is a java.lang.ClassNotFoundException: org.apache.log4j.spi.RootCategory and SmartGWT EE isn't provided with sources :( However there are only 1 constructor and 3 small methods. I've tried to add a very simple implementation of RootCategory but now SmartGWT EE complains about org.apache.log4j.spi.LoggerRepository which itself is linked to several other classes in the same package... -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.

If you create the class without any methods, say RootCategory, then the JVM will complain about the missing methods. You can thus focus on just the missing pieces instead of the entire implementations. It's an adhoc approach but at least its tractable bugzilla-daemon@pixie.qos.ch wrote:
http://bugzilla.slf4j.org/show_bug.cgi?id=161
--- Comment #2 from Boris Granveaud <boris@granveaud.com> 2009-12-02 17:50:58 --- I don't know exactly because all I've got is a java.lang.ClassNotFoundException: org.apache.log4j.spi.RootCategory and SmartGWT EE isn't provided with sources :( However there are only 1 constructor and 3 small methods.
I've tried to add a very simple implementation of RootCategory but now SmartGWT EE complains about org.apache.log4j.spi.LoggerRepository which itself is linked to several other classes in the same package...

http://bugzilla.slf4j.org/show_bug.cgi?id=161 Ceki Gulcu <lists@slf4j.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #3 from Ceki Gulcu <lists@slf4j.org> 2010-04-04 20:22:37 --- Looking at the SmartClient LGPL, it looks like they are using much of the log4j API, RootCategory being just the tip of the iceberg. The log4j-over-slf4j does not aim to replace all of log4j but only the most widely used log4j classes. SmartClient's use goes well beyond the minimal log4j API that log4j-over-slf4j covers. Consequently, I am closing this entry as WONTFIX. -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
participants (2)
-
bugzilla-daemon@pixie.qos.ch
-
Ceki Gulcu