<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:10pt"><div>This solution is valid only for LHS, right?</div><div>What about the RHS? Seems more difficult to me, as the terminal node holds a compiled rule.</div><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><br></div><div style="font-family:times new roman, new york, times, serif;font-size:10pt">Cheers</div><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> Mark Proctor <mproctor@codehaus.org><br><b><span style="font-weight: bold;">Para:</span></b> rules-users@lists.jboss.org<br><b><span style="font-weight: bold;">Enviado:</span></b> mar,26 abril, 2011
21:53<br><b><span style="font-weight: bold;">Asunto:</span></b> Re: [rules-users] detailed execution trace<br></font><br>
On 26/04/2011 19:20, Archie Russell wrote:
<blockquote type="cite">Hi Mark,
<div><br>
</div>
<div>How would we do this?</div>
</blockquote>
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.<br>
<br>
Mark<br>
<blockquote type="cite">
<div><br>
</div>
<div>Thanks,</div>
<div>Archie<br>
<br>
<div class="gmail_quote">2011/4/26 Mark Proctor <span dir="ltr"><<a rel="nofollow" ymailto="mailto:mproctor@codehaus.org" target="_blank" href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex;">
<div>
<div>
<div class="h5"> On <a rel="nofollow">26/04/2011 16</a>:13, nch wrote:
<blockquote type="cite">
<div style="font-family:times, serif;font-size:10pt;">
<div>Hi,</div>
<div><br>
</div>
<div>I need detailed drools execution traces. More
than that provided by what's provided in package
org.drools.audit.</div>
<div>That is, detail on what's being done while
evaluating LHS and executing RHS.</div>
<div>Do you have any suggestions on which way to
go?</div>
</div>
</blockquote>
</div>
</div>
You can use AOP and inject sinks at each point and monitor
and trace all network propagations.<br>
<br>
Mark<br>
<blockquote type="cite">
<div style="font-family:times, serif;font-size:10pt;">
<div><br>
</div>
<div>Kind regards.</div>
</div>
<pre><fieldset></fieldset>
_______________________________________________
rules-users mailing list
<a rel="nofollow" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a rel="nofollow" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a rel="nofollow" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a rel="nofollow" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<pre><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
rules-users mailing list
<a rel="nofollow" class="moz-txt-link-abbreviated" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a rel="nofollow" class="moz-txt-link-freetext" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
</blockquote>
<br>
</div></div><div style="position:fixed"></div>
</div></body></html>