2 Replies Latest reply on Jul 21, 2009 5:49 PM by Giovani Seben

    [Fuse4] Correct dependencies & imports to have log4j working ?

    Vincent Girard-Reydet Newbie



      I am trying to set-up a bundle correctly to have log4j Loggers working, but I have troubles selecting the proper dependencies. i have selected slf4 (I created my artifact from a Spring OSGi artifact), but it says I'm missing dependencies :





      If I exclude these artifacts from the org.slf4j:com.springsource.slf4j.log4j artifact, then the Bundle is OK but I cannot compile my project (does not find the Logger class from log4j).


      Could someone provide a valid snippet of pom.xml for using log4j ? Or should I use another logging mechanism instead ?