When deploying my OSGi web application using the equinox servlet bridge i get the following:
log4j:WARN No appenders could be found for logger (org.springframework.osgi.extender.internal.activator.ContextLoaderListener).
log4j:WARN Please initialize the log4j system properly.
I tried several ways of supplying the necessary "log4j.properties" file, including:
Of course I also have a fragment bundle which extends the log4j bundle with a log4j.properties file, but it looks like this log4j bundle is not used.
ADDED: I should add that I'm developing the application in Eclipse... and my fragment bundle which configures log4j / slf4j works there.
Has anyone solved this? Any ideas?
I found my error. The fragment which should provide the log4j.properties file did not include it, because I did not add it to the binary build in build.properties.