<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN
class=098591915-02092010>Hi,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=098591915-02092010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=098591915-02092010>Can anyone give me a
code example how to create a logfile when using a rule agent (rulebase) and
statefulsession?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=098591915-02092010>The goals is to
replace all system.out.println(); statements in de rules with
Log();</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=098591915-02092010>(the rules are made
with the Guvnor GUI, and I am using Guvnor 5.1 with a oc4j
server)</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=098591915-02092010>The text that is in
de Log() should then appear in an existing logfile.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=098591915-02092010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=098591915-02092010>Thanx in
advance.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV></BODY></HTML>