You can take a look at org.drools.audit.WorkingMemoryFileLogger (the default file logger) and create your own class that implements WorkingMemoryLogger or even extends <meta http-equiv="content-type" content="text/html; charset=utf-8">WorkingMemoryFileLogger.<div>

<br></div><div><br></div><div><br></div><div>Best, <br clear="all"><br>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX<br><br>Esteban Aliverti<br>- Developer @ <a href="http://www.plugtree.com" target="_blank">http://www.plugtree.com </a><br>

- Blog @ <a href="http://ilesteban.wordpress.com" target="_blank">http://ilesteban.wordpress.com</a><br>
<br><br><div class="gmail_quote">On Tue, Sep 21, 2010 at 5:03 AM, marton.bokor <span dir="ltr">&lt;<a href="mailto:marton.bokor@gfthu.com">marton.bokor@gfthu.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br>
Hi All,<br>
I have<br>
logger = KnowledgeRuntimeLoggerFactory.newFileLogger(ksession, &quot;rulelog&quot;);<br>
<br>
But actually I would like to create audit logs for all process instances<br>
with a different file name.<br>
Is it possible to create log files per process instance.<br>
Or the only way to do this is to create a seperate session for all<br>
processes?<br>
Is it possible to close the log file automatically when a process flow has<br>
finished it&#39;s execution.<br>
<br>
Thanks,<br>
Marton<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/instance-level-logger-tp1533864p1533864.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/instance-level-logger-tp1533864p1533864.html</a><br>


Sent from the Drools - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br></div>