0 Replies Latest reply on Oct 24, 2011 7:40 AM by reschifl

    logging with slf4j+logback

    reschifl

      Hello,

       

      I would like to use plain slf4j+logback as logging solution on a JBoss AS7.

       

      I tried to create a new module containing the slf4j and logback libs. When using this as dependency, I don't see any logback related output.

      I think, there is no slf4j binding to logback, because the slf4j-api is loaded at server start, which is binding the slf4j-jboss-logmanager.

       

      Is there a way to prevent my deployments to use the jboss org.slf4 module?

       

      Is there a way, how I can have a special logging module containing slf4j and logback libs and share this single module within multiple deployed apps using the same configuration?

       

      Regards,

      Lars