You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Norbert Somlai <ns...@gmail.com> on 2010/09/13 12:57:30 UTC
Log service tab is empty in Equinox
Hello,
I have successfully configured the Felix Web Console to run in Equinox, the
only other bundle I needed is pax-web-jetty-bundle. My only problem is that
the Log Service tab is empty. It just says "Log Service is running." but
shows no log entries.
I have a test entry and Spring DM also logs some entries. I see these on the
console because I have a custom forwarder added using
LogReaderService.addLogListener(). So the log entries surely get to the log
service otherwise my listener wouldn't be called.
Any idea what did I miss? Here is the list of bundles (the com.acme ones are
our own)
id State Bundle
0 ACTIVE org.eclipse.osgi_3.6.0.v20100517
1 ACTIVE org.eclipse.osgi.services_3.2.100.v20100503
2 RESOLVED com.springsource.slf4j.log4j_1.6.1
Master=21
3 ACTIVE com.acme.cc.integrationtest_0.0.0.201009130148
4 ACTIVE com.acme.cc.container.logging.listener_0.0.0.201009
5 RESOLVED com.acme.cc.container.logging.log4j_0.0.0.201009130
Master=6
6 ACTIVE com.springsource.org.apache.log4j_1.2.16
Fragments=5
7 ACTIVE com.acme.cc.container.configuration_0.0.0.201009130
8 ACTIVE org.apache.felix.configadmin_1.2.4
9 ACTIVE com.acme.cc.container.core_0.0.0.201009130147
10 ACTIVE org.springframework.osgi.extender_1.2.1
11 ACTIVE org.springframework.osgi.io_1.2.1
12 ACTIVE org.springframework.osgi.core_1.2.1
13 ACTIVE org.springframework.expression_3.0.4.RELEASE
14 ACTIVE org.springframework.context_3.0.4.RELEASE
15 ACTIVE org.springframework.beans_3.0.4.RELEASE
16 ACTIVE org.springframework.asm_3.0.4.RELEASE
17 ACTIVE org.springframework.aop_3.0.4.RELEASE
18 ACTIVE com.springsource.org.aopalliance_1.0.0
19 ACTIVE org.springframework.core_3.0.4.RELEASE
20 ACTIVE com.springsource.slf4j.org.apache.commons.logging_1.6.
21 ACTIVE com.springsource.slf4j.api_1.6.1
Fragments=2
22 ACTIVE org.apache.felix.webconsole_3.1.2
23 ACTIVE org.eclipse.equinox.log_1.2.0.v20090520-1800
24 ACTIVE org.ops4j.pax.web.pax-web-jetty-bundle_0.7.1
Thanks, Norbert
--
View this message in context: http://old.nabble.com/Log-service-tab-is-empty-in-Equinox-tp29696957p29696957.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Log service tab is empty in Equinox
Posted by Felix Meschberger <fm...@gmail.com>.
Hi,
The WebConsole LogService tab uses the LogReaderService.getLog() method
to shows the log entries. If the LogReaderService.getLog() method does
not return anything (which is ok as per the spec), the tab cannot
display anything.
Thus, it sounds like the Eclipse LogReaderService.getLog()
implementation does not return any entries.
Regards
Felix
Am 13.09.2010 13:06, schrieb Norbert Somlai:
>
> Got an idea and replaced the Equinox log implementation with the Felix one.
> Works perfectly now.
>
>
>
> Norbert Somlai wrote:
>>
>> Hello,
>>
>> I have successfully configured the Felix Web Console to run in Equinox,
>> the only other bundle I needed is pax-web-jetty-bundle. My only problem is
>> that the Log Service tab is empty. It just says "Log Service is running."
>> but shows no log entries.
>>
>> I have a test entry and Spring DM also logs some entries. I see these on
>> the console because I have a custom forwarder added using
>> LogReaderService.addLogListener(). So the log entries surely get to the
>> log service otherwise my listener wouldn't be called.
>>
>> Any idea what did I miss? Here is the list of bundles (the com.acme ones
>> are our own)
>>
>> id State Bundle
>> 0 ACTIVE org.eclipse.osgi_3.6.0.v20100517
>> 1 ACTIVE org.eclipse.osgi.services_3.2.100.v20100503
>> 2 RESOLVED com.springsource.slf4j.log4j_1.6.1
>> Master=21
>> 3 ACTIVE com.acme.cc.integrationtest_0.0.0.201009130148
>> 4 ACTIVE com.acme.cc.container.logging.listener_0.0.0.201009
>> 5 RESOLVED com.acme.cc.container.logging.log4j_0.0.0.201009130
>> Master=6
>> 6 ACTIVE com.springsource.org.apache.log4j_1.2.16
>> Fragments=5
>> 7 ACTIVE com.acme.cc.container.configuration_0.0.0.201009130
>> 8 ACTIVE org.apache.felix.configadmin_1.2.4
>> 9 ACTIVE com.acme.cc.container.core_0.0.0.201009130147
>> 10 ACTIVE org.springframework.osgi.extender_1.2.1
>> 11 ACTIVE org.springframework.osgi.io_1.2.1
>> 12 ACTIVE org.springframework.osgi.core_1.2.1
>> 13 ACTIVE org.springframework.expression_3.0.4.RELEASE
>> 14 ACTIVE org.springframework.context_3.0.4.RELEASE
>> 15 ACTIVE org.springframework.beans_3.0.4.RELEASE
>> 16 ACTIVE org.springframework.asm_3.0.4.RELEASE
>> 17 ACTIVE org.springframework.aop_3.0.4.RELEASE
>> 18 ACTIVE com.springsource.org.aopalliance_1.0.0
>> 19 ACTIVE org.springframework.core_3.0.4.RELEASE
>> 20 ACTIVE com.springsource.slf4j.org.apache.commons.logging_1.6.
>> 21 ACTIVE com.springsource.slf4j.api_1.6.1
>> Fragments=2
>> 22 ACTIVE org.apache.felix.webconsole_3.1.2
>> 23 ACTIVE org.eclipse.equinox.log_1.2.0.v20090520-1800
>> 24 ACTIVE org.ops4j.pax.web.pax-web-jetty-bundle_0.7.1
>>
>>
>> Thanks, Norbert
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org
Re: Log service tab is empty in Equinox
Posted by Norbert Somlai <ns...@gmail.com>.
Got an idea and replaced the Equinox log implementation with the Felix one.
Works perfectly now.
Norbert Somlai wrote:
>
> Hello,
>
> I have successfully configured the Felix Web Console to run in Equinox,
> the only other bundle I needed is pax-web-jetty-bundle. My only problem is
> that the Log Service tab is empty. It just says "Log Service is running."
> but shows no log entries.
>
> I have a test entry and Spring DM also logs some entries. I see these on
> the console because I have a custom forwarder added using
> LogReaderService.addLogListener(). So the log entries surely get to the
> log service otherwise my listener wouldn't be called.
>
> Any idea what did I miss? Here is the list of bundles (the com.acme ones
> are our own)
>
> id State Bundle
> 0 ACTIVE org.eclipse.osgi_3.6.0.v20100517
> 1 ACTIVE org.eclipse.osgi.services_3.2.100.v20100503
> 2 RESOLVED com.springsource.slf4j.log4j_1.6.1
> Master=21
> 3 ACTIVE com.acme.cc.integrationtest_0.0.0.201009130148
> 4 ACTIVE com.acme.cc.container.logging.listener_0.0.0.201009
> 5 RESOLVED com.acme.cc.container.logging.log4j_0.0.0.201009130
> Master=6
> 6 ACTIVE com.springsource.org.apache.log4j_1.2.16
> Fragments=5
> 7 ACTIVE com.acme.cc.container.configuration_0.0.0.201009130
> 8 ACTIVE org.apache.felix.configadmin_1.2.4
> 9 ACTIVE com.acme.cc.container.core_0.0.0.201009130147
> 10 ACTIVE org.springframework.osgi.extender_1.2.1
> 11 ACTIVE org.springframework.osgi.io_1.2.1
> 12 ACTIVE org.springframework.osgi.core_1.2.1
> 13 ACTIVE org.springframework.expression_3.0.4.RELEASE
> 14 ACTIVE org.springframework.context_3.0.4.RELEASE
> 15 ACTIVE org.springframework.beans_3.0.4.RELEASE
> 16 ACTIVE org.springframework.asm_3.0.4.RELEASE
> 17 ACTIVE org.springframework.aop_3.0.4.RELEASE
> 18 ACTIVE com.springsource.org.aopalliance_1.0.0
> 19 ACTIVE org.springframework.core_3.0.4.RELEASE
> 20 ACTIVE com.springsource.slf4j.org.apache.commons.logging_1.6.
> 21 ACTIVE com.springsource.slf4j.api_1.6.1
> Fragments=2
> 22 ACTIVE org.apache.felix.webconsole_3.1.2
> 23 ACTIVE org.eclipse.equinox.log_1.2.0.v20090520-1800
> 24 ACTIVE org.ops4j.pax.web.pax-web-jetty-bundle_0.7.1
>
>
> Thanks, Norbert
>
>
--
View this message in context: http://old.nabble.com/Log-service-tab-is-empty-in-Equinox-tp29696957p29697032.html
Sent from the Apache Felix - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org