[rules-users] How to create logfile when using ruleAgent and statefulSession

Michael Anstis michael.anstis at gmail.com
Thu Sep 2 16:44:31 EDT 2010


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20100902/f12a507e/attachment.html 


More information about the rules-users mailing list