[logback-user] Elongated system startup-time because of Logback configuration

Nikhil Diwan nikhil.diwan at gmail.com
Mon Nov 22 15:49:25 CET 2010


Thanks Ceki for your input...unfortunately It didn't work for me.

Jars added in lib for logback:-
    -  groovy-all-1.6.5
    -  logback-core-0.9.24
    -  logback-classic-0.9.24
    -  slf4j-api-1.6.0
As suggested by you, replaced logback-classic with "slf4j-nop-1.3.0", then I got
an error saying

        SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.
        SLF4J: Your binding is version 1.5.5 or earlier.
        SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x
        java.lang.NoSuchMethodError:
org.slf4j.impl.StaticLoggerBinder.getSingleton()Lor
        g/slf4j/impl/StaticLoggerBinder;
                at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
                at
org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)

                at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
                at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
                at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
       
So I replaced slf4j-api-1.6.0 with lower version(i.e. slf4j-api-1.5.5), error
gone but no logging in my system!

Interestingly, no errors, no warnings and no logging though I jars and groovy
file is in the classpath.

Did I do anything wrong?
- Any light on this

~Nikhil



More information about the Logback-user mailing list