4 Replies Latest reply on Apr 17, 2012 8:37 PM by ahhughes

    slf4j Binding in weld-servlet.jar

      Hi,


      I get some warnings from slf4j because there are two slf4j-bindings on my classpath.
      I use log4j as logging framework so I've got slf4j-log4j12-1.5.8.jar on my classpath. Unfortunately weld-servlet.jar has got a slf4j-binding as well so I get the following warnings:




      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/C:/projects/j4fry/web/WEB-INF/lib/slf4j-log4j12-1.5.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/C:/projects/j4fry/web/WEB-INF/lib/weld-servlet.jar!/org/slf4j/impl/StaticLoggerBinder.class]



      IMO weld should not ship his own sl4j binding.


      I don't know which binding is used right now.


      Alex