<!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><SPAN lang=EN>
<P><SPAN class=427410108-03092010><FONT size=2 face=Arial>What user guide do you 
mean?</FONT></SPAN></P>
<P><SPAN class=427410108-03092010><FONT size=2 face=Arial>I've already read this 
one: <A 
href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-guvnor/html_single/index.html">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-guvnor/html_single/index.html</A></FONT></SPAN></P>
<P><SPAN class=427410108-03092010><FONT size=2 face=Arial>But it does not say 
anything about globals nor how to make a rule with Log() (instead of 
System.out.println())&nbsp;, so the information is added to a logfile. The only 
information I've found was in de user guide of drools flow (section 5.3) <A 
href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html_single/index.html">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html_single/index.html</A></FONT></SPAN></P>
<P><SPAN class=427410108-03092010><FONT size=2 face=Arial>But I'm not using 
ruleflow</FONT></SPAN></P>
<P><SPAN class=427410108-03092010><FONT size=2 face=Arial>And in de Drools 
Expert guide: <A 
href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html</A>&nbsp;in 
section 3.3.5 there is information how to make an audit log, which one can view 
via Eclipse.</FONT></SPAN></P>
<P><SPAN class=427410108-03092010><FONT size=2 face=Arial>But I want to make a 
simple log file (like a server.log) but for the rules I've made in Guvnor. Which 
is in the system and testers can check if something strange happens or pure for 
their own information. so they can watch the process without any technical 
knowledge.</FONT></SPAN></P>
<P><SPAN class=427410108-03092010><FONT size=2 
face=Arial></FONT></SPAN>&nbsp;</P>
<P><SPAN class=427410108-03092010><FONT size=2 face=Arial>I hope you can help me 
further as where to find some information or example how to use a global object 
that handles logging...</FONT></SPAN></P>
<P><SPAN class=427410108-03092010><FONT size=2 face=Arial>Or where to find the 
guide your talking about...</FONT></SPAN></P>
<P><FONT size=2 face=Arial></FONT>&nbsp;</P>
<P><FONT size=2 face=Arial>Using a "global" object that handles logging would 
probably be the simplest.</FONT></P>
<P><FONT size=2 face=Arial>Look at the User Guide for use of globals.</FONT></P>
<P><FONT size=2 face=Arial>2010/9/2 Solingen, Stephanie 
&lt;stephanie.solingen@atosorigin.com&gt;</FONT></P>
<P><FONT size=2 face=Arial>&gt; Hi,</FONT></P>
<P><FONT size=2 face=Arial>&gt;</FONT></P>
<P><FONT size=2 face=Arial>&gt; Can anyone give me a code example how to create 
a logfile when using a rule</FONT></P>
<P><FONT size=2 face=Arial>&gt; agent (rulebase) and statefulsession?</FONT></P>
<P><FONT size=2 face=Arial>&gt; The goals is to replace all 
system.out.println(); statements in de rules</FONT></P>
<P><FONT size=2 face=Arial>&gt; with Log();</FONT></P>
<P><FONT size=2 face=Arial>&gt; (the rules are made with the Guvnor GUI, and I 
am using Guvnor 5.1 with a</FONT></P>
<P><FONT size=2 face=Arial>&gt; oc4j server)</FONT></P>
<P><FONT size=2 face=Arial>&gt; The text that is in de Log() should then appear 
in an existing logfile.</FONT></P>
<P><FONT size=2 face=Arial>&gt;</FONT></P>
<P><FONT size=2 face=Arial>&gt; Thanx in advance.</FONT></P></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV></BODY></HTML>