You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/07/25 05:50:00 UTC
[jira] [Resolved] (FELIX-6551) OSGi event deny listing is not informative
[ https://issues.apache.org/jira/browse/FELIX-6551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-6551.
-------------------------------------
Resolution: Fixed
Applied a minor change to the code by switching to an atomic boolean:
https://github.com/apache/felix-dev/commit/cb553d57b95f1e6d4492e31291f919be52f825c8
Changed the log level when event delivery fails to ERROR as well
> OSGi event deny listing is not informative
> ------------------------------------------
>
> Key: FELIX-6551
> URL: https://issues.apache.org/jira/browse/FELIX-6551
> Project: Felix
> Issue Type: Improvement
> Components: Event Admin
> Affects Versions: eventadmin-1.6.2
> Reporter: Akanksha Jain
> Assignee: Carsten Ziegeler
> Priority: Major
> Fix For: eventadmin-1.6.4
>
>
> There are many project-specific event handlers and listeners, and the Event Handler logging is not giving enough information, about what has been deny listed.
> {code:java}
> // EventAdminAsyncThread #19 org.apache.felix.eventadmin EventAdmin: Denying event handler from ServiceReference[org.osgi.service.event.EventHandler] | Bundle({bundle name})] due to timeout! {code}
> Please provide an improvement on the logging statements, e.g., which listener class is being deny listed and how long time it took before deny listing the handler.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)