<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><head><META content="text/html; charset=us-ascii" http-equiv="Content-Type">

<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META content="MSHTML 6.00.6000.16981" name=GENERATOR></head><BODY>
<DIV>
<DIV align=left dir=ltr>
<DIV align=left dir=ltr><SPAN class=413091216-05042010><FONT face=Verdana><FONT size=2><SPAN class=231073416-05042010><FONT color=#0000ff>Thanks Salatino. 
Correct me if I am wrong but, I see that the methods in&nbsp;<FONT size=2>KnowledgeRuntimeLoggerFactory are only for stateful session. My 
application uses stateless knowledge sessions. Is there a different factory for 
this? </FONT></FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV align=left dir=ltr><SPAN class=413091216-05042010><FONT face=Verdana><FONT color=#0000ff size=2><SPAN class=231073416-05042010></SPAN></FONT></FONT></SPAN>&nbsp;</DIV>
<DIV align=left dir=ltr><SPAN class=413091216-05042010><FONT face=Verdana><FONT color=#0000ff size=2><SPAN class=231073416-05042010>Regards,</SPAN></FONT></FONT></SPAN></DIV>
<DIV style="COLOR: black; FONT-FAMILY: arial"><SPAN style="FONT-SIZE: 10pt">Malay Shah</SPAN></DIV></DIV><BR>
<DIV align=left class=OutlookMessageHeader dir=ltr lang=en-us>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
[mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Mauricio 
Salatino<BR><B>Sent:</B> Monday, April 05, 2010 11:32 AM<BR><B>To:</B> Rules 
Users List<BR><B>Subject:</B> Re: [rules-users] Logging in 
Drools?<BR></FONT><BR></DIV>
<DIV></DIV>In drools docs mention that you can use 
<BR>KnowledgeRuntimeLoggerFactory and create file, console, and 
newThreadedFileLogger.<BR><BR>That will show you all activity inside the 
engine.<BR><BR>
<DIV class=gmail_quote>2010/4/5 Shah, Malay <SPAN dir=ltr>&lt;<A href="mailto:Malay.Shah@morganstanley.com">Malay.Shah@morganstanley.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV>
  <DIV>
  <DIV><FONT face=Verdana size=2><SPAN>Hi All,</SPAN></FONT></DIV>
  <DIV><FONT face=Verdana size=2><SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Verdana size=2><SPAN>Is there a way to log drools activity 
  when the engine is running? I tried to look&nbsp;but could not find any online 
  documentation for this.</SPAN></FONT></DIV>
  <DIV><FONT face=Verdana size=2><SPAN></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Verdana size=2><SPAN>Thanks,</SPAN></FONT></DIV>
  <DIV><SPAN style="FONT-SIZE: 10pt"></SPAN>&nbsp;</DIV>
  <DIV><SPAN style="FONT-SIZE: 10pt">Malay Shah<BR></SPAN><SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7.5pt"><BR></SPAN></DIV>
  <DIV>&nbsp;</DIV></DIV>
  <DIV>
  <HR>
  </DIV>
  <P style="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in"><SPAN style="FONT-SIZE: 8pt; COLOR: gray"><FONT color=gray face=Arial size=1>NOTICE: 
  If received in error, please destroy, and notify sender. Sender does not 
  intend to waive confidentiality or privilege. Use of this email is prohibited 
  when received in error.&nbsp;We<SPAN style="FONT-SIZE: 7.5pt; COLOR: gray"> 
  may monitor and store emails to the extent permitted by applicable 
  law.</SPAN></FONT></SPAN></P>
  <DIV></DIV></DIV><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>- <A href="http://salaboy.wordpress.com">http://salaboy.wordpress.com</A><BR>- <A href="http://www.jbug.com.ar">http://www.jbug.com.ar</A><BR>- Salatino "Salaboy" 
Mauricio -<BR></DIV>
<DIV>
<HR>
</DIV>
<P CLASS="BulletedList" STYLE="MARGIN: 0in 0in 0pt; TEXT-INDENT: 0in; mso-list: none; tab-stops: .5in"><SPAN STYLE="FONT-SIZE: 8pt; COLOR: gray; mso-bidi-font-family: Arial"><FONT COLOR="gray" FACE="Arial" SIZE="1">NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.&nbsp;We<SPAN STYLE="FONT-SIZE: 7.5pt; COLOR: gray; FONT-FAMILY: 'Arial','sans-serif'; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-GB; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"> may monitor and store emails to the extent permitted by applicable law.</SPAN></FONT></SPAN></P>
<DIV></DIV></BODY></HTML>