[slf4j-dev] [Bug 286] New: Missing method in org.apache.log4j.Logger

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Thu Dec 6 19:03:11 CET 2012


http://bugzilla.slf4j.org/show_bug.cgi?id=286

           Summary: Missing method in org.apache.log4j.Logger
           Product: SLF4J
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: log4j-over-slf4j
        AssignedTo: slf4j-dev at qos.ch
        ReportedBy: ipe4enko at gmail.com


It's in version 1.7.2 (can't find it in the list).

When using default Velocity

java.lang.NoSuchMethodError:
org.apache.log4j.Logger.setLevel(Lorg/apache/log4j/Level;)V
    at
org.apache.velocity.runtime.log.Log4JLogChute.initAppender(Log4JLogChute.java:120)
    at
org.apache.velocity.runtime.log.Log4JLogChute.init(Log4JLogChute.java:85)
    at
org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:150)
    at
org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:208)
    at
org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:728)
    at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:240)
    at
org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:993)
    at
org.apache.velocity.runtime.RuntimeInstance.parse(RuntimeInstance.java:972)
    at
com.otr.sufd.server.startup.SufdDHtmlLayoutServlet.prepareStartupScreen(SufdDHtmlLayoutServlet.java:84)
    at
com.otr.sufd.server.startup.SufdDHtmlLayoutServlet.init(SufdDHtmlLayoutServlet.java:56)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
    at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
    at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    at
org.mortbay.jetty.handler.AbstractStatisticsHandler.doStart(AbstractStatisticsHandler.java:24)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:224)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.mortbay.start.Main.invokeMain(Main.java:194)
    at org.mortbay.start.Main.start(Main.java:534)
    at org.mortbay.start.Main.start(Main.java:441)
    at org.mortbay.start.Main.main(Main.java:119)

-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list