It's right pax-logging supports the LogReader service, but if you a bundle uses the slf4j api for example, the events won't be available as OSGi events, only events sent through the OSGi Log Service will be afaik.
On Sun, Feb 27, 2011 at 11:49, Niclas Hedhman <[email protected]> wrote: > Shouldn't the Console be reading from a LogReader service (or whatever > the name was) and AFAIR Pax Logging implements that?? > > On Wed, Feb 23, 2011 at 3:18 AM, Guillaume Nodet <[email protected]> wrote: >> Messages can't be routed from paxlogging to the OSGi Log Service, as >> pax-logging *is* the OSGi log service but only osgi log events are >> accessible through the osgi log service. >> However it should be relatively easy to write a console plugin that >> would register a pax-logging appender and receive all events, in >> exactly the same way as the current plugin. It may also be possible >> to enhance the current plugin to do that with an optional import on >> pax-logging package. >> >> >> On Tue, Feb 22, 2011 at 18:14, Carlos Quiroz <[email protected]> wrote: >>> Hi all >>> >>> I'm using pax-logging so that I can concentrate all the logs from my >>> components (most use java logging but some use Log4J) and I'd like to >>> display them in the felix web console Log Service part. >>> >>> As of now the Log Service tab shows only logs from the framework in what I >>> suppose are messages sent to OSGi Log Service. >>> >>> Can the messages be routed through Pax-Logging to the OSGi Log Service? >>> >>> Regards >>> Carlos >>> _______________________________________________ >>> general mailing list >>> [email protected] >>> http://lists.ops4j.org/mailman/listinfo/general >>> >> >> >> >> -- >> Cheers, >> Guillaume Nodet >> ------------------------ >> Blog: http://gnodet.blogspot.com/ >> ------------------------ >> Open Source SOA >> http://fusesource.com >> >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.ops4j.org/mailman/listinfo/general >> > > > > -- > Niclas Hedhman, Software Developer > http://www.qi4j.org - New Energy for Java > > I live here; http://tinyurl.com/3xugrbk > I work here; http://tinyurl.com/24svnvk > I relax here; http://tinyurl.com/2cgsug > > _______________________________________________ > general mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/general > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com _______________________________________________ general mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/general
