Logging OSGi via JMX or other way
I’m a beginner with the technologies OSGi and JMX, so I have some questions and I hope to have answers.
I want to recover the OSGi Log object for display logs on my console eclipse and then display them on a jsp page.
Haw can I access to Log OSGi bundle via the JMX’ Object MBeanServerConnection?
Haw can I have LogEntry, ServiceReference and BundleContext?
Is there another way to logging OSGi with a distant Object?
Thanks,
开发者_运维问答Néjib.
From within OSGi, find the LogReader service, it will allow you to read the log entries of the OSGi system. Still, I do not understand your other use cases; what is the relationship between the JSP pages and the OSGi system?
精彩评论