general  

Re: change pax logging configuration during runtime

Lars Fischer
Mon, 25 Jan 2010 00:50:03 -0800

Hello Niclas,

Niclas Hedhman wrote:
Pax Logging relies on the Configuration Admin service, as specified in
the OSGi Compendium specs.

So, you need a service implementation that can provide the
configuration to Pax Logging, and without it, "nothing" will happen.

I have no current overview of available implementations, but I think
Knopflerfish has a reasonable one.


I use the Pax ConfMan to provide the logging configuration to Pax Logging. My configuration is read on OSGi startup and Pax Logging is working fine with it.

I thought Pax ConfMan will observe my configuration-file and provide changes during runtime to the logging service.

But maybe that I'm wrong. Then I will have a look at other Configuration Admin implementations.

Regards,
Lars

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general