You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/09/04 08:22:44 UTC

[jira] Created: (SLING-643) The LogSupport.fireLogEvent should deliver LogEvents to listeners asynchronously

The LogSupport.fireLogEvent should deliver LogEvents to listeners asynchronously
--------------------------------------------------------------------------------

                 Key: SLING-643
                 URL: https://issues.apache.org/jira/browse/SLING-643
             Project: Sling
          Issue Type: Bug
          Components: Commons Log
    Affects Versions: Commons Log 2.0.2
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: Commons Log 2.0.4


Currently the LogSupport.fireLogEvent notifies registered LogListeners synchronously during the call the to the LogService.log method. According to Section 101.4, Log Reader Service, of the OSGi Service Compendium specification, the delivery of events to LogListeners is recommended to be done asynchronously:

   "The delivery of LogEntry objects to the LogListener
      object should be done asynchronously"

This should enhance the performance of the LogService.log calls dramatically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-643) The LogSupport.fireLogEvent should deliver LogEvents to listeners asynchronously

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-643.
-----------------------------------

    Resolution: Fixed

Implemented asynchronous LogEvent delivery in Rev. 692355.

> The LogSupport.fireLogEvent should deliver LogEvents to listeners asynchronously
> --------------------------------------------------------------------------------
>
>                 Key: SLING-643
>                 URL: https://issues.apache.org/jira/browse/SLING-643
>             Project: Sling
>          Issue Type: Bug
>          Components: Commons Log
>    Affects Versions: Commons Log 2.0.2
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: Commons Log 2.0.4
>
>
> Currently the LogSupport.fireLogEvent notifies registered LogListeners synchronously during the call the to the LogService.log method. According to Section 101.4, Log Reader Service, of the OSGi Service Compendium specification, the delivery of events to LogListeners is recommended to be done asynchronously:
>    "The delivery of LogEntry objects to the LogListener
>       object should be done asynchronously"
> This should enhance the performance of the LogService.log calls dramatically.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.