Top "Slf4j" questions

Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction layer for various logging frameworks.

Logback native VS Logback via SLF4J

I have gone through the following article regarding the logging frameworks available for Java: http://michaelandrews.typepad.com/the_technical_…

java logging slf4j logback
cannot get SLF4J working with glassfish 4

I have configured glassfish 3 to use SLF4J in the past by using the SLF4J JUL bridge and it …

slf4j glassfish-4 glassfish-embedded
Can we use all features of log4j2 if we use it along with slf4j api?

We have migrated all our code to use the slf4 API to use generic APIs, however now we are thinking …

java logging log4j slf4j log4j2
How to retain slf4j MDC logging context in CompletableFuture?

When executing async CompletableFuture, the parent threadcontext and moreover the org.slf4j.MDC context is lost. This is bad …

java slf4j completable-future mdc
Error java.lang.ClassNotFoundException: org.slf4j.LoggerFactory when trying to execute the jar

When I try to do java -jar app.jar I get this: Exception in thread "JavaFX Application Thread" Exception in …

java logging slf4j slf4j-api
How to find which library slf4j has bound itself to?

I am using slf4j for logging in my application. I get the purpose of slf4j. I would like …

java logging log4j slf4j
Difference between Simple Logging Facade for Java and Apache Commons Logging

What is the difference between Simple Logging Facade for Java and Apache Commons Logging?

java logging slf4j apache-commons-logging
SLF4J / Log4J not initialized in jetty-maven-plugin

I am getting this error when running the jetty-maven-plugin: [INFO] --- jetty-maven-plugin:7.6.1.v20120215:start (start-jetty) @ rest --- log4j:WARN …

maven log4j slf4j maven-jetty-plugin
Failed to load class "org.slf4j.impl.StaticLoggerBinder" message error from SLF4J

I am developing a simple server using Akka and Akka-http. I always get following error message in stdout when I …

scala log4j akka slf4j
Gradle Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

I have tried to get this working for three days now in my project and created a simple project to …

java gradle slf4j intellij-idea-2016