# Logback Frequently Asked Questions

# Logback Classic

How can I use logback with Jetty ?

A few jars must be present in the JETTY_HOME/lib directory.

Logback uses the SLF4J api. Therefore, the slf4j-api-VERSION.jar jar must be present. This jar can be found by downloading SLF4J.

Logback's own jars must also be present. These are logback-classic-VERSION.jar and logback-core-VERSION.jar .

To configure logback classic, a file called logback-classic.xml must be placed at the root directory of Jetty, that is the JETTY_HOME directory. You can find configuration samples in the examples/src/chapter4/conf/ directory, in the distribution of logback.