Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
10
-
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.
- Stop Confluence.
- Download slf4j-nop-1.7.36.jar
- Paste under <confluence-install>/synchrony-proxy/WEB-INF/lib/
- 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.