<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<String, Object> 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>