Patrick Paulin (developer and trainer specializing in modular technologies such as OSGi and the Eclipse Rich Client Platform) has blogged about using Pax Logging and Pax ConfMan in a tutorial like style:
Logging RCP applications with Pax Logging
Adding logging to an RCP application has always been painful. Developers have struggled with the best way to incorporate Log4J and other logging APIs, and in particular with how to make configuration files accessible. Some have chosen to use buddy classloading, others have utilized fragments containing the config files.
I'm happy to say that RCP developers now have another choice - Pax Logging.
Pax ConfMan consists of implementations of OSGi Configuration Admin agents, and the first release was made today. It consists of a "Properties Loader", which will populate the Configuration object from a properties file. It requires a Configuration Admin service to be present in the system. Feedback will be appreciated. Report any problems to http://issues.ops4j.org/jira/browse/CONFMAN.