Logging in OSGi applications

Valery Abu-Eid of DynamicJava has posted a detailed article explaining how to use effectively the OSGi Log Service.

Observing different approaches for logging OSGi-based applications for few months, I came across different articles on the topic. Although they explain how to use the OSGi Log Service pretty well, all in all, I consider the general approach for logging OSGi-based applications using OSGi Log Service is too complex. The complexity is driven by the fact that OSGi is a dynamic environment, and OSGi Log Service, like any other service, could become available or unavailable at runtime. Sure, these concerns need to be addressed, but my point here is that this should not be the responsibility of the developer.

Read the complete article here.

osgi, tutorial

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Leave Comment

(required)

(required)