You can create your own logger implementation using the method:<br>ksession.addEventListener(listener);<br>This listener can be one of these three types:<br>ProcessEventListener<br>AgendaEventListener<br>WorkingMemoryEventListener<br>
<br>Take a look at those interface and after that you can implement and bind your custom listeners to plug your own logger.<br>Greetings.<br><br><div class="gmail_quote">2011/3/7 Laks Sundararajan <span dir="ltr">&lt;<a href="http://narasimhan.sl">narasimhan.sl</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><p>I have an application that processes rules on every request.  Basically,  the application creates a stateless session for every request and fires the rules.</p>

<p>My question is how to integrate drools logging into this application.</p>
<p>KnowledgeLoggerRuntimeFactory takes a string for filename instead of a logger.  As a result, the log file gets overwritten for every request.  Is there a way to get around this issue?</p>
<p>Thanks! </p>
<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>
<br></blockquote></div><br><br clear="all"><br>-- <br> - CTO @ <a href="http://www.plugtree.com">http://www.plugtree.com</a>  <br> - MyJourney @ <a href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</a><br>
 - Co-Founder @ <a href="http://www.jbug.com.ar">http://www.jbug.com.ar</a><br> <br> - Salatino &quot;Salaboy&quot; Mauricio -<br>