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

"David Illsley (JIRA)" <[email protected]>
Newsgroups gmane.comp.apache.webservices.fx.devel
Message-ID <433351088.1227205725745.JavaMail.jira@brutus>
    [ 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.