I am trying to use log4j (via slf4j) for logging in an RCP application.
I downloaded OSGIified bundles for slf4j and log4j from SpringSource.
Everything seems to work fine (slf4j and log4j bundles / plugins are
included in my exported RCP application, and seem to be found upon
application start), only the system does not find my log4j.properties
file, so it complains that log4j is not configured properly.
I would like to include the log4j.properties file in the plugin defining
my RCP application. How can I make log4j find my log4j.properties file
this way? I tried putting it in the src directory (hoping it would be
written to the same place as the compiled class files, and be on the
classpath this way), I tried the base directory, META-INF, tried adding
it to the plugins classpath, nothing seems to work.