Problem importing org.apache.log4j
In my bundle I imported org.apache.log4j, which is exported by com.springsource.slf4j.org.apache.log4j-1.5.6.jar.
I wanted to implement log4j configuration for my own application, so in my code I used PropertyConfigurator. At runtime this class was not found, and i see why: the com.springsource.slf4j.org.apache.log4j-1.5.6.jar bundle contains just a few classes, not the whole log4j library.
Is this by design?
Anyway, how should I configure logging for my application? Is there a place where I can just drop the log4j.properties for the server to pick up?