[logback-user] Eclipse plugin not finding logback.xml

Barry Hathaway bhathaw1 at nycap.rr.com
Fri Apr 26 00:14:55 CEST 2013


I have an Eclipse plugin (call it A) that uses and exports the logback 
classes.
I have another plugin (call it B) that uses the above plugin and has a 
require-bundle in the manifest.
When the plugin B starts up it can't find the logback.xml configuration 
file and as a result
too much debugging information is generated.  The logback.xml file 
resides in the bin directory of A
and the run-time classpath has a "." so it should be on the classpath.
I have looked at both bundles in the OSGi console and the 
exports/imports look correct.
The logback.xml is found when I specify it as an VM argument.
Any ideas why it is not found?  Thanks in advance.

Barry Hathaway



More information about the Logback-user mailing list