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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Robert Munteanu (Jira)
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.


Reply | Threaded
Open this post in threaded view
|

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

Robert Munteanu (Jira)

     [ 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.