<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I'm still thinking on how to do that. Could be the only way is to
expose the working memory of the stateless session - although I'm
reluctant to do that for encapsulation purposes. No doubt users will
just abuse it and try and use the stateless session statefully.<br>
<br>
Mark<br>
Budyanto Himawan wrote:
<blockquote
 cite="mid:16229cc20706130832u64734e0fj9a78df8c27a7e525@mail.gmail.com"
 type="cite">Hi,<br>
  <br>
I'm using the 4.0 version of the rules engine. In the old version we
were able to enable auditing by doing this<br>
  <br>
  <pre class="programlisting">WorkingMemory workingMemory = ruleBase.newWorkingMemory();
// create a new Working Memory Logger, that logs to file.
WorkingMemoryFileLogger logger = new WorkingMemoryFileLogger(workingMemory);
  </pre>
Now if I use a stateful session, I can still do this. StateFulSession
extends WorkingMemory. For StatelessSession, however, this is not
possible. It does not extend WorkingMemory. Is there anyway I can have
auditing for StatelessSession?<br>
  <br>
Appreciate your help.<br>
  <br>
Thanks<br>
Budyanto<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>