Why slf4j : The Simple Logging Facade for Java (SLF4J) serves as a simple
facade or abstraction for various logging frameworks (e.g.
*java.util.logging*, logback, log4j) allowing the end user to plug in the
desired logging framework at *deployment* time.
Rerf :  https://www.slf4j.org/

Wrapped implementation logback, log4j and jdk14

In order to give more flexibility to the users to decide which logging
framework according to their needs.

Thanks,
Mohana Rao S V

On Fri, Jul 26, 2019 at 2:52 PM Jim Ma <[email protected]> wrote:

> Do you remember why we need slf4j dependency in cxf-rt-features-logging ?
> Is it because it needs support MDC in
>
> https://github.com/apache/cxf/blob/master/rt/features/logging/src/main/java/org/apache/cxf/ext/logging/slf4j/Slf4jEventSender.java
> ?
> Can the slf4j logger  be replaced with cxf's LogUtils.getLogger and it
> won't include a slf4j dependency if user uses jdk logging?
>
> Thanks,
> Jim
>

Reply via email to