开发者

Logging OSGi via JMX or other way

开发者 https://www.devze.com 2023-01-11 16:22 出处:网络
I’m a beginner with the technologies OSGi and JMX, so I have some questions and I hope to have answers.

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消