I am trying to use Apache Sling logging in an Equinox project. It is working fine, but I can't make Sling to use my config file. I am using a standard logback configuration xml, which should work according to the Sling documentation. But no matter where I put the configuration file Sling just doesn't use it.
My logback configuration is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%d{dd.MM.yyyy HH:mm:ss.SSS} *%level* [%thread] %logger %message%n</pattern>
</encoder>
</appender>
<root level="debug">
<appender-ref ref="CONSOLE" />
</root>
</configuration>