<HTML >
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">



<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY >
<DIV>
<DIV dir=ltr align=left><SPAN class=042534408-08092008><FONT face=Calibri>try 
this</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=042534408-08092008><FONT 
face=Calibri></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=042534408-08092008><FONT face=Calibri><FONT 
face="Times New Roman">&nbsp;&nbsp;&nbsp; public String toString() 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return 
super.toString() + "Type: " + type;<BR>&nbsp;&nbsp;&nbsp; 
}</FONT><BR></FONT></SPAN>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> thomas.kukofka@googlemail.com 
[mailto:thomas.kukofka@googlemail.com] <B>On Behalf Of </B>thomas 
kukofka<BR><B>Sent:</B> Monday, September 08, 2008 2:04 PM<BR><B>To:</B> Rules 
Users List<BR><B>Cc:</B> Shyam, Pallav (MSCIBARRA)<BR><B>Subject:</B> logging 
with WorkingMemoryEventListener<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr><FONT face=Calibri></FONT><FONT 
face=Calibri></FONT><BR><BR>Hello,<BR><BR>I tried to overwrite 
toString():<BR><BR>&nbsp;&nbsp;&nbsp; public String toString() 
{<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; System.out.println("Type: " + 
type);<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; return 
super.toString();<BR>&nbsp;&nbsp;&nbsp; }<BR><BR>But the output ist the 
following:<BR>Type: TypeXY<BR>[ObjectInserted: 
handle=[fid:1:7:com.dssrules.InputObject@996cef]; 
object=com.dssrules.InputObject@996cef]<BR><BR>Is there any possiblity to 
configure the WorkingMemoryEventListener so that it looks like: 
<BR>[ObjectInserted: type=TypeXY: 
handle=[fid:1:7:com.dssrules.InputObject@996cef]; 
object=com.dssrules.InputObject@996cef]<BR></DIV></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 FACE="Arial" COLOR="gray" 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.</FONT></SPAN></P>
<DIV>
</DIV></BODY></HTML>