<!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><SPAN class=556572618-05042010><FONT color=#0000ff face=Verdana size=2>Yeah. Got it to work. Thanks!</FONT></SPAN></DIV>
<DIV><FONT color=#0000ff face=Verdana size=2></FONT> </DIV>
<DIV style="COLOR: black; FONT-FAMILY: arial"><SPAN style="FONT-SIZE: 10pt">Malay Shah<BR></SPAN><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 7.5pt">Morgan Stanley | IDEAS Practice
Areas<BR></SPAN><SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7.5pt">1221 Ave of
the Americas, 27th Floor | New York, NY 10020<BR>Phone: +1 212
762-4794<BR><A href="mailto:Malay.Shah@morganstanley.com">Malay.Shah@morganstanley.com</A><BR></SPAN></DIV>
<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 2:04 PM<BR><B>To:</B> Rules
Users List<BR><B>Subject:</B> Re: [rules-users] Logging in
Drools?<BR></FONT><BR></DIV>
<DIV></DIV>please try it, I review the interfaces and looks like you can use it
with Stateless Sessions as well.<BR>Let me know if you have problems with
that.<BR><BR>
<DIV class=gmail_quote>2010/4/5 Shah, Malay <SPAN dir=ltr><<A href="mailto:Malay.Shah@morganstanley.com">Malay.Shah@morganstanley.com</A>></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 align=left dir=ltr>
<DIV align=left dir=ltr><SPAN><FONT face=Verdana><FONT size=2><SPAN><FONT color=#0000ff>Thanks Salatino. Correct me if I am wrong but, I see that the
methods in <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><FONT face=Verdana><FONT color=#0000ff size=2><SPAN></SPAN></FONT></FONT></SPAN> </DIV>
<DIV align=left dir=ltr><SPAN><FONT face=Verdana><FONT color=#0000ff size=2><SPAN>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 dir=ltr lang=en-us>
<HR>
<FONT face=Tahoma size=2><B>From:</B> <A href="mailto:rules-users-bounces@lists.jboss.org" target=_blank>rules-users-bounces@lists.jboss.org</A> [mailto:<A href="mailto:rules-users-bounces@lists.jboss.org" target=_blank>rules-users-bounces@lists.jboss.org</A>] <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 class=im>
<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><<A href="mailto:Malay.Shah@morganstanley.com" target=_blank>Malay.Shah@morganstanley.com</A>></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> </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 but could not find any
online documentation for this.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN>Thanks,</SPAN></FONT></DIV>
<DIV><SPAN style="FONT-SIZE: 10pt"></SPAN> </DIV>
<DIV><SPAN style="FONT-SIZE: 10pt">Malay Shah<BR></SPAN><SPAN style="FONT-WEIGHT: normal; FONT-SIZE: 7.5pt"><BR></SPAN></DIV>
<DIV> </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. 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" target=_blank>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" target=_blank>http://salaboy.wordpress.com</A><BR>- <A href="http://www.jbug.com.ar" target=_blank>http://www.jbug.com.ar</A><BR>-
Salatino "Salaboy" Mauricio -<BR></DIV></DIV>
<DIV class=im>
<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. 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></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. 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>