[rules-users] detailed execution trace

nch underscore_dot at yahoo.com
Wed Apr 27 03:09:46 EDT 2011


This solution is valid only for LHS, right?
What about the RHS? Seems more difficult to me, as the terminal node holds a 
compiled rule.

Cheers



________________________________
De: Mark Proctor <mproctor at codehaus.org>
Para: rules-users at lists.jboss.org
Enviado: mar,26 abril, 2011 21:53
Asunto: Re: [rules-users] detailed execution trace

On 26/04/2011 19:20, Archie Russell wrote: 
Hi Mark, 
>
>
>How would we do this?
You'll need to learn AspectJ, then just weave into the interfaces     
LeftTupleSink and ObjectSink. Intercept and log the LeftTuple and     Object 
propagations and then forward them onto the real node.

Mark


>
>Thanks,
>Archie
>
>
>2011/4/26 Mark Proctor <mproctor at codehaus.org>
>
>On 26/04/2011 16:13, nch wrote: 
>>Hi,
>>>
>>>
>>>I need detailed drools execution traces. More                         than that 
>>>provided by what's provided in package                         org.drools.audit.
>>>That is, detail on what's being done while                         evaluating 
>>>LHS and executing RHS.
>>>Do you have any suggestions on which way to                         go?
You can use AOP and inject sinks at each point and monitor               and 
trace all network propagations.
>>
>>Mark
>>
>>
>>>
>>>Kind regards.
>>> _______________________________________________ rules-users mailing list 
>>>rules-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users 
>>>
>
>>_______________________________________________
>>rules-users mailing list
>>rules-users at lists.jboss.org
>>https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
> _______________________________________________ rules-users mailing list 
>rules-users at lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20110427/c24d4c04/attachment.html 


More information about the rules-users mailing list