tony19/logback-android — pull request #18 by schlachtzeuger (2012-08-08 11:21:18+00:00)
Title: classloader's getResource needs a prepending slash to work

Hi there,

I tried to integrate Logback in my Android project and put the Logback configuration in the assets directory mentioned in the manual, which did not work. When I stepped into the code I saw that the config file in the assets directory is fetched via class loader's getResource. AFAIK this needs a prepended slash to get resources of the current classpath. So I added that, compiled the lib and put the snapshot dependency in my Maven configuration and ........ tada! It worked =)