Top "Slf4j" questions

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

How to disable Spring logging DEBUG messages?

I'm working on a simple desktop app (not webapp). Here is my log4j.properties: log4j.rootCategory=INFO, stdout …

java spring log4j slf4j apache-commons-logging
XUGGLE ERROR: Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory

I am trying to execute the following code: import com.xuggle.mediatool.IMediaReader; import com.xuggle.mediatool.IMediaWriter; import com.…

java compiler-errors slf4j xuggle xuggler
What is the best way to unit-test SLF4J log messages?

I'm using slf4j and I want to unit test my code to make sure that warn/error log messages …

unit-testing mocking mockito slf4j
Building with Lombok's @Slf4j and Eclipse: Cannot find symbol log

I have the lombok plugin in Eclipse and enabled annotation processing in Eclipse under java compiler, but still it is …

eclipse slf4j lombok
Failed to load class "org.slf4j.impl.StaticLoggerBinder" -- Which classpath?

My pom.xml contains only one reference to SLF4J: <dependency> <groupId>org.slf4j</…

slf4j
How to log exception and message with placeholders with SLF4J

What's the correct approach to log both an error message and an exception using SLF4J? I've tried doing this …

java logging slf4j
Implement Custom Logger with slf4j

I want to implement a Custom logger which logs all log entries to a Database. Currently my app logs this …

java slf4j
NoClassDefFoundError: org/slf4j/Logger

I added Log4J2 to my application. I copied all the Log4J2 .jar files to by LIB directory and …

java logging log4j slf4j log4j2
How to set the log level to DEBUG during Junit tests?

I am using SLF4J with LOG4J, and the configurations are usually in the log4j.properties, and it …

java junit log4j slf4j
Hibernate 3.4 with slf4j and log4j

I'm attempting to upgrade from Hibernate 3.2 to 3.4, which apparently uses slf4j. Our project currently uses log4j. So my …

java hibernate maven-2 log4j slf4j