Well, I seem to be having better luck with the RollingFileAppender (instead of the ConsoleAppender), which is what I want anyway. Sorry for the bother ;-)
Cheers, Craig > -----Original Message----- > From: general-boun...@lists.ops4j.org > [mailto:general-boun...@lists.ops4j.org] On Behalf Of Craig L. Ching > Sent: Monday, April 13, 2009 2:05 PM > To: general@lists.ops4j.org > Subject: PAX-Logging and Equinox CM > > Hi all, > > I apologize in advance if this is not a pax logging problem > and more of a general OSGi problem, I'm still pretty new to > OSGi. I'm having trouble getting my logging configuration to > happen dynamically in the following scenario: > > org.eclipse.osgi-3.5.0.v20090311-1300.jar > org.eclipse.equinox.cm-1.0.0.v20080509-1800.jar > org.eclipse.equinox.event_1.1.100.v20090306-1900.jar > org.eclipse.osgi.services-3.1.200.v20071203.jar > org.eclipse.osgi.services_3.2.0.v20090306-1900.jar > pax-logging-api-1.3.0.jar > pax-logging-service-1.3.0.jar > > Basically, I'm writing a web page to change the logging > configuration "on the fly." When the user hits submit to > change the logging parameters, I have a servlet that updates > the org.ops4j.pax.logging pid configuration. This all works fine. > > The problem is that pax logging stops logging directly after > that update. If I restart the framework, then it seems to > pick up the new settings. For instance, I know when I shut > down the framework, I see either INFO logs or DEBUG logs and > I'm simply toggling between INFO and DEBUG but I don't see > any logging until I restart the framework (tried an update on > the pax logging bundles as well). > > I'm sure I'm misunderstanding something here, I thought I > read that pax logging would dynamically update its settings. > I'm off to debug, but wanted to get this out to the community > in the mean time. > > Thanks for any help! > > Cheers, > Craig > > _______________________________________________ > general mailing list > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general > _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general