You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by "David Illsley (JIRA)" <ji...@apache.org> on 2008/11/20 19:28:45 UTC

[jira] Commented: (SANDESHA2-182) Unify key trace collection and debug points

    [ https://issues.apache.org/jira/browse/SANDESHA2-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649438#action_12649438 ] 

David Illsley commented on SANDESHA2-182:
-----------------------------------------

I like the idea but there's a performance problem with the patch, namely that calling the methods on SandeshaEvent cause the parameters to be calculated, and in one case that causes the SOAPHeader to be serialized - something we want to avoid when we're not tracing. Could you add a SandeshaEvent.isEventTraceEnabled() method to guard the calls to SandeshaEvent to prevent the performance hit?

> Unify key trace collection and debug points
> -------------------------------------------
>
>                 Key: SANDESHA2-182
>                 URL: https://issues.apache.org/jira/browse/SANDESHA2-182
>             Project: Sandesha2
>          Issue Type: Improvement
>            Reporter: Thomas McKiernan
>         Attachments: unifiedEventTrace.patch
>
>
> There are times when it is difficult to debug problems in sandesha2 due to the amount of trace collected.
> However, it is time consuming and difficult to isolate individual classes/packages that are of interest.
> Also, when debugging issues in a live debugger, it is often found there are debug points in many locations.
> I propose a single class used for tracing key events.
> This will also be useful for live debug purposes.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org