[rules-users] logging with WorkingMemoryEventListener

thomas kukofka thomaskukofka at web.de
Mon Sep 8 04:33:39 EDT 2008


Hello,

I tried to overwrite toString():

    public String toString() {
        System.out.println("Type: " + type);
        return super.toString();
    }

But the output ist the following:
Type: TypeXY
[ObjectInserted: handle=[fid:1:7:com.dssrules.InputObject at 996cef];
object=com.dssrules.InputObject at 996cef]

Is there any possiblity to configure the WorkingMemoryEventListener so that
it looks like:
[ObjectInserted: type=TypeXY:
handle=[fid:1:7:com.dssrules.InputObject at 996cef];
object=com.dssrules.InputObject at 996cef]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080908/76db9010/attachment.html 


More information about the rules-users mailing list