Top "Slf4j" questions

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

LoggerFactor.getLogger cannot be resolved to a type

I setup a basic Java program, I am following this tutorial and have this exact code: import org.slf4j.…

java eclipse logging slf4j buildpath
Akka SLF4J logback configuration and usage

I have done the following steps to try and configure logging for my akka application: created an application.conf file …

scala akka slf4j logback
Spring cache logging on @Cacheable hit

Currently I am working with a Spring Cache and the @Cacheable/@CacheEvict annotations. I would like to get some sort …

java spring slf4j spring-cache
Using log4j2 with slf4j: java.lang.StackOverflowError

So I have tried following this (non-maven implementation) and requirements in their web site for adding slf4j to log4…

java slf4j log4j2
How can I change log level of single logger in runtime?

I wanna read spring property and based on this property change log level for some packages (not for root logger). …

java spring slf4j logback
Solr: how to turn down logging

OK, so I'm thrilled with Solr, but I can't seem to figure out how to turn down the logging level …

java logging solr slf4j
One logfile per run with log4j

How do you configure log4j.properties to have exactly one logfile per run of an app. I've read that …

java logging log4j slf4j appender
How slf4j works? No log getting created

I've below code in Java 1.6: import org.slf4j.Logger; import org.slf4j.LoggerFactory; private static Logger log = LoggerFactory.…

java slf4j
How to use log4j 2.0 and slf4j and Commons Logging together

I currently am starting a new Webapp (running on tomcat 6) I have components using slf4j and components using commons …

java logging slf4j apache-commons-logging log4j2