[slf4j-user] Update logging config contained in fragment bundle while OSGi framework is running?

Stefan Karl stefan.karl87 at googlemail.com
Mon May 26 14:35:41 CEST 2014


Hi everyone,

I´m currently trying to update my logging config for slf4j while the OSGi
framework is still running. I tried to update the fragment bundle which
contains the logback.xml, and then stopped and started logback.classic,
logback.core and slf4j api bundle. I even tried to update my testbundle,
but the changes in my logback.xml do not take effect. Only after completely
shutting down OSGi and starting it up again the changes are shown.
Is it possible to change the logging config in a way without restarting the
OSGi framework?

Best regards
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-user/attachments/20140526/19e8bb02/attachment.html>


More information about the slf4j-user mailing list