<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>1. Use of WorkingMemoryFileLogger seems to be dedicated to StatefulSession 
- there's no way to keep the same log file for multiple StatelessSession 
invocations.</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Correct, there is no reason why this needs to be 
like this, improvements to make this useful in more scenario's are 
welcome.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><BR>2. Drools Eclipse plugin provides pretty 
nice Audit View which reads the generated audit log file. The log file is in 
fact a serialized java.util.ArrayList in form of xml. Problem is that being a 
well formed xml this log file does not allow simply append new event to the end: 
to keep it well formed xml I have to either completely re-write it each time a 
new event is added or complicate the procedure with read the closing tag 
&lt;/List&gt; to insert the new event before. But even re-writing does not solve 
the problem: the hierarchy of WorkingMemoryLogger does not allow add it to 
multiple StatelessSession 's as a listener (see the constructor).</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This has been improved for the Drools5 release: the 
audit log now is a sequence of event objects.&nbsp; This means it should be 
possible to simply append events to the already existing log.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Kris</FONT></DIV></BODY></HTML>