Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-87787

Eliminate INFO message - SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" on Confluence start-up

    XMLWordPrintable

Details

    • 10
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Problem

      Confluence v7.19.8

      The customer wants to eliminate the following INFO messages from the catalina.log file.

      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.
      

      These INFO messages are generated by the synchrony-proxy JARs during class loading, and can be safely ignored as it is harmless.

      Suggested Solution

      The message itself provides a link to the solution: http://www.slf4j.org/codes.html#StaticLoggerBinder. However, implementing these changes requires tracking and updating the JAR with compatible versions during upgrades, which can be cumbersome, and customizing the apps. Therefore, the customer requests that the solution be implemented in the base product.

      Suppressing the message via modified JAR (Unsupported)

      To prevent the INFO message from appearing, please follow the steps below.

      1. Stop Confluence.
      2. Download slf4j-nop-1.7.36.jar
      3. Paste under <confluence-install>/synchrony-proxy/WEB-INF/lib/
      4. Start Confluence.

      Please note that the JAR file above will not be applicable to all Confluence versions as it is only tested in Confluence 7.19.8. We strongly discourage injecting custom/modified JAR to the Installation Directory as it can be hard to maintain.

      Attachments

        Activity

          People

            Unassigned Unassigned
            e2a594875e14 Sandeep Sahadevan
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: