<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Oleg Zenzin wrote:
<blockquote
 cite="mid:eba6d4ef0810261653u5ef3bb57p45e54c147a4aa323@mail.gmail.com"
 type="cite">
  <p>Best greatings to drools community!<br>
  </p>
  <p>I'm using drools 4.0.4, my current aim is to generate audit log. </p>
  <p>Using <em>WorkingMemoryLogger</em> and Drools Eclipse IDE Audit
View I was able to fulfil the requirement. Looks pretty nice, thanx for
your work!<br>
I have a couple of notes, but think it's better to keep them under
different threads. The first one is about <em>facts</em> output.
Currently <em>WorkingMemoryLogger</em> uses <em>toString()</em> to
output information about <em>facts</em> inserted, updated or
retracted. In addition there's information about <em>facts</em> in
ActivationLogEvent, collected again using <em>toString() </em>default
method. In my code I've implemented simple static method to introspect <em>fact</em>
objects and produce Map&lt;String, Object&gt; of properties. That made
the log much more informative.</p>
  <p>Question: are there any enhacements (planned) in next versions of
Drools? Would you like me contribute my code into the <em>WorkingMemoryLogger</em>?</p>
</blockquote>
Kris the author of this should be back tomorrow and should be able to
help you with your Qs. Contributions are always welcome :)<br>
<blockquote
 cite="mid:eba6d4ef0810261653u5ef3bb57p45e54c147a4aa323@mail.gmail.com"
 type="cite">
  <p>Thanks!<br>
Oleg<br>
  </p>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>