I'm trying to create a bundle that would be able to store the last log
entries and display them somehow.
I first looked at the Osgi log service api, but the informations are
not sufficient imho, so I'm now trying to retrieve the log4j events
directly.
I've seen that there is an AppenderTracker defined in the pax log
service bundle, but the main problem is that the Appender class is not
exported by either the api or service bundles.  In addition, I'd like
to access the Layout / PatternLayout, but again, this class is not
exported.
I'm looking for some informations about the design decision around
exporting only some of the log4j main package (those only needed for
actually logging) or any hint at how to solve this problem.

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

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

Reply via email to