Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3818

SLF4J logger not loading

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.1.Final
    • 7.0.0.Final
    • Quickstarts
    • None
    • Hide

      Add the following to the pom:

          <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-simple</artifactId>
            <scope>compile</scope>
          </dependency>
      Show
      Add the following to the pom:   <dependency>       <groupId>org.slf4j</groupId>       <artifactId>slf4j-simple</artifactId>       <scope>compile</scope>     </dependency>

      SLF4J logger reports a warning saying that no appropriate SLF4J binding could be found

      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 
      SLF4J: Defaulting to no-operation (NOP) logger implementation 
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.                                                                     

      The SLF4J documentation suggests including slf4j-simple.jar on the classpath.

              rhn-engineering-mmusgrov Michael Musgrove
              rhn-engineering-mmusgrov Michael Musgrove
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: