I am trying to use logback in my OSGI bundle. I see that the bundle starts up successfully and appears as "ACTIVE" in the Virgo Admin Console. However I do not find the log statements in any log files.
Please let me know if I need to configure any additional steps.
I am dropping the hellobundle-1.0.0.jar into the pickup folder to start the bundle.
I have attached the source code and the jar file for my OSGI bundle.
Arun, move that logback.xml to the root of the bundle. Even without osgi - logback looks in the root of the application classpath for the config file. In virgo - there a component called medic that should examine bundles on start up and pickup that logback.xml config file for this bundle only. i.e. do not expect this configuration to be global across bundles in the container.