Top "Slf4j" questions

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

Dynamically add appender with slf4j and log4j2

I want to dynamically create an appender and add it to a logger. However, this seems not to be possible …

java logging slf4j log4j2
How to enable logging of Ehcache

In my Spring + Hibernate project, I was doing logging by SLF4J 1.6.4 with LogBack. Now, I've added Ehcache 2.2.0 (through ehcache-spring-annotations-1.1.3). …

spring ehcache slf4j logback
How do I add a line break / blank line after my LOG statement?

I want to add a blank line after my LOG statement in order to make my logs more separated and …

java logging slf4j line-breaks
How to exclude multiple SLF4J bindings to LOG4J

I am getting the error SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:…

java logging gradle slf4j log4j2
SLF4J - Logback: How to configure loggers in runtime?

we are using LogBack with our project, I want to configure logger according to some Data Base values, i.e …

java slf4j logback
How to create 2 different ROOT loggers with logback?

I'm happily using SLF4J with logback and use 2 appenders for the ROOT logger. <root level="DEBUG"> <…

logging root logback slf4j
How to suppress SLF4J Warning about multiple bindings?

My java project has dependencies with different SLF4J versions. How do I suppress the annoying warnings? SLF4J: Class …

maven binding warnings slf4j suppress
Class path contains multiple SLF4J bindings

My application server ibm websphere. I'm getting the following error in the application server logs. Where can I websphere settings? [19.09.2012 14:56:54:940 …

java binding websphere slf4j
Using java annotation to inject logger dependency

I am using spring with aspect-j annotation support to allow for an @Loggable annotation. This allows automatic logging on a …

java spring annotations slf4j
Resolve multiple SLF4J bindings in maven project

This is a question sounds like bunch of similar questions on SE sites, so I should be quite verbose to …

java maven dependencies slf4j logback