It's hard to tell but it shouldn't be too many. If you were able to add RootCategoty, I'd also try adding LoggerRepository and see what happens.

Boris Granveaud wrote:
I've tried to add a dummy RootCategory to log4j-over-slf4j but now I've got the same error with org.apache.log4j.spi.LoggerRepository. I don't know how many classes have to be implemented...

Thanks, I add a bug report.

Boris.

On Wed, Dec 2, 2009 at 5:00 PM, Ceki Gulcu <[email protected] <mailto:[email protected]>> wrote:


    Hello,

    Contrary to jcl-over-slf4j which is a full replacement for
    commong-logging.jar, lof4j-over-slf4j is not a perfect replacement
    for log4j.jar. The org.apache.log4j.spi.RootCategory is indeed
    missing from
    log4j-over-slf4j.

    Please enter a bug report so that this issue can be fixed for the
    next slf4j release.

    BR

    Boris Granveaud wrote:

        Hi,

        I'm using jcl-over-slf4j, log4j-over-slf4j and jul-to-slf4j to
        redirect all the logs of the libraries of my project. It works
        fine except for this library: SmartGWT EE.

        It seems that it uses a class that is not implemented in
        log4j-over-slf4j because I get this error:

        java.lang.ClassNotFoundException: org.apache.log4j.spi.RootCategory
        at
        
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1386)
        [catalina.jar:na]
        at
        
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1232)
        [catalina.jar:na]
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        [na:1.6.0_16]
        at com.isomorphic.base.Config.<clinit>(Config.java:68)
        [isomorphic_core_rpc-1.2.1.jar:na]
        at com.isomorphic.rpc.RPCManager.<clinit>(RPCManager.java:91)
        [isomorphic_core_rpc-1.2.1.jar:na]

        Any idea to get it work?

        Thank,
        Boris.


        ------------------------------------------------------------------------

        _______________________________________________
        slf4j-user mailing list
        [email protected] <mailto:[email protected]>
        http://qos.ch/mailman/listinfo/slf4j-user

    _______________________________________________
    slf4j-user mailing list
    [email protected] <mailto:[email protected]>
    http://qos.ch/mailman/listinfo/slf4j-user



------------------------------------------------------------------------

_______________________________________________
slf4j-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-user
_______________________________________________
slf4j-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/slf4j-user

Reply via email to