<p>Best greatings to drools community!<br></p><p>I&#39;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&#39;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&#39;s information about <em>facts</em> in ActivationLogEvent, collected again using <em>toString()&nbsp;</em>default method. In my code I&#39;ve implemented simple static method to introspect&nbsp;<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><p>Thanks!<br>Oleg<br></p>