Using a "global" object that handles logging would probably be the simplest.
Look at the User Guide for use of globals.
2010/9/2 Solingen, Stephanie <stephanie.solingen(a)atosorigin.com>
Hi,
Can anyone give me a code example how to create a logfile when using a rule
agent (rulebase) and statefulsession?
The goals is to replace all system.out.println(); statements in de rules
with Log();
(the rules are made with the Guvnor GUI, and I am using Guvnor 5.1 with a
oc4j server)
The text that is in de Log() should then appear in an existing logfile.
Thanx in advance.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users