Top "Slf4j" questions

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

GlassFish 3: how do you change the (default) logging format?

The question originated from here: http://www.java.net/forum/topic/glassfish/glassfish/configuring-glassfish-logging-format - without an answer. The default …

java logging glassfish glassfish-3 slf4j
SLF4J + logback + JBoss 7?

Has anyone got SLF4J / logback to work with JBoss 7? Previously, I was able to get my app to work …

java jboss jboss7.x slf4j logback
Dropwizard doesn't log custom loggers to file

I have a dropwizard app, where I configured logger appenders to file as follows: logging: level: INFO loggers: "mylogger": INFO "…

java logging slf4j logback dropwizard
Is SLF4J thread-safe?

I might have a Dog class that has a single instance shared across multiple threads. I plan on using SLF4…

java logging thread-safety slf4j thread-local
using slf4j with log4j2

I have been trying log4j2 recently. Now, I would like to test it with slf4j and wondering if …

java logging log4j slf4j log4j2
What is the difference between log4j, slf4j and logback?

I am little bit confused by these three logger libraries. It seems like that they can do the similar thing …

java jakarta-ee logging log4j slf4j
how to log in tomcat using slf4j and java.util.logging

I created a webapp that runs on Tomcat 8. As always I want to use slf4j and in this case, …

tomcat slf4j java.util.logging
How to enrich Jaeger opentracing data with the application logs (produced by slf4j) for Spring Boot?

There is an existing Spring Boot app which is using SLF4J logger. I decided to add the support of …

spring-boot logging slf4j opentracing jaeger
Hibernate: how do you adjust the default logging level (SJF4J and JDK 1.4 logger)?

I have a JavaSE/Hibernate test app (shell-based). I put the following JARs into the project's lib dir: antlr-2.7.6.jar …

java hibernate logging slf4j java.util.logging
How to send email notifications with slf4j / log4j2?

I've looked into other questions that are similar and have done some googling to find my answer but my question …

java maven slf4j log4j2 smtpappender