Top "Slf4j" questions

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

Is there a correct way to pass arguments in slf4j?

Im using slf4j for tracing the information. My code is private static final Logger log = LoggerFactory.getLogger(ObjectTest.class); …

java slf4j
Is there a Logback Layout that Creates JSON Objects with Message Parameters as Attributes?

I want to send log events to Loggly as JSON objects with parameterized string messages. Our project currently has a …

java json slf4j logback loggly
How to exclude commons-logging from a scala/sbt/slf4j project?

My scala/sbt project uses grizzled-slf4j and logback. A third-party dependency uses Apache Commons Logging. With Java/Maven, I …

scala sbt slf4j
NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()

The issue was caused by one of the dependencies in my pom.xml [cxf-bundle-jaxrs] which internally uses lower version of …

java log4j slf4j shiro
How to enable DEBUG level logging with Jetty embedded?

I'm trying to set the logging level to DEBUG in an embedded Jetty instance. The documentation at http://docs.codehaus.…

jetty slf4j
slf4j & log4j2 maven setup query

I am using log4j2 and slf4j in my project & using maven for the build. I am using …

java maven logging slf4j log4j2
How does simply adding slf4j to the pom.xml wrap log4j?

From what I have seen in example spring pom.xml files is that they add a few entries for slf4…

spring log4j slf4j
Which Android logging framework to use?

My question seems to be easily answerable, but there are several good solutions. I like to choose the 'best' one. …

android logging log4j slf4j
Difference between slf4j-log4j12 and log4j-over-slf4j

What's the difference between slf4j-log4j12 and log4j-over-slf4j and when should each be used? <dependency> &…

java log4j slf4j
Overriding logback configurations

Is there any way that we can override the logback configurations? I know that we define the logback configurations in …

logging slf4j logback