[rules-dev] audit logging: better describe facts

Mark Proctor mproctor at codehaus.org
Tue Oct 28 01:16:49 EDT 2008


Oleg Zenzin wrote:
>
> Best greatings to drools community!
>
> I'm using drools 4.0.4, my current aim is to generate audit log.
>
> Using /WorkingMemoryLogger/ and Drools Eclipse IDE Audit View I was 
> able to fulfil the requirement. Looks pretty nice, thanx for your work!
> I have a couple of notes, but think it's better to keep them under 
> different threads. The first one is about /facts/ output. Currently 
> /WorkingMemoryLogger/ uses /toString()/ to output information about 
> /facts/ inserted, updated or retracted. In addition there's 
> information about /facts/ in ActivationLogEvent, collected again using 
> /toString() /default method. In my code I've implemented simple static 
> method to introspect /fact/ objects and produce Map<String, Object> of 
> properties. That made the log much more informative.
>
> Question: are there any enhacements (planned) in next versions of 
> Drools? Would you like me contribute my code into the 
> /WorkingMemoryLogger/?
>
Kris the author of this should be back tomorrow and should be able to 
help you with your Qs. Contributions are always welcome :)
>
> Thanks!
> Oleg
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20081028/014daaef/attachment.html 


More information about the rules-dev mailing list