[logback-user] Minimal library dependency for logback implementation of RequestLogImpl

Russell E Glaue rglaue at cait.org
Thu Jan 22 18:48:13 CET 2009


SLF4J API offers an advanced abstraction of various logging systems, including
... logback. ...
Logging systems can either choose to implement the the SLF4J interfaces
directly, e.g. logback or ...

So what then is the relationship between logback and slf4j ?

When my team has investigated the POM files for logback, we see dependency on
log4j libraries.

The latest POM in trunk show a dependency on slf4j 1.5.6
 slf4j.version property is used below and in setClasspath.cmd

Are the slf4j libraries compiled into and bundled with the logback distribution?


Ceki Gulcu wrote:
> Hi Russell,
> You don't need SLF4J for logback-access. Not for jetty nor tomcat.
> Russell E Glaue wrote:
>> To implement the Jetty RequestLog in Jetty,
>> http://logback.qos.ch/access.html#jetty
>> what is the minimal set lof slf4j and log libraries I need?
>> slf4j-?
>> logback-core-VERSION.jar
>> logback-access-VERSION.jar
>>> From the above doc, I see the two logback-core and logback-access
>>> libraries are
>> minimally necessary to use ch.qos.logback.access.jetty.RequestLogImpl
>> What minimal set of slf4j libraries are necessary?
>> -RG

More information about the Logback-user mailing list