Nope, and your suggestion scores +1.<br><br><div class="gmail_quote">On 3 September 2010 10:57, Wolfgang Laun <span dir="ltr">&lt;<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The Guvnor documentation  contains a section 1.4.1.3. that describes<br>
how to import classes.<br>
<br>
Then, there isn&#39;t any intrinsic difference between a<br>
System.out.println( &quot;I say Hello&quot; ) or a<br>
Log.write( &quot;You say Goodbye&quot; ), is there?<br>
<br>
-W<br>
<br>
<br>
2010/9/3 Solingen, Stephanie &lt;<a href="mailto:stephanie.solingen@atosorigin.com">stephanie.solingen@atosorigin.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; What user guide do you mean?<br>
&gt;<br>
&gt; I&#39;ve already read this one:<br>
&gt; <a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-guvnor/html_single/index.html" target="_blank">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-guvnor/html_single/index.html</a><br>

&gt;<br>
&gt; But it does not say anything about globals nor how to make a rule with Log()<br>
&gt; (instead of System.out.println()) , so the information is added to a<br>
&gt; logfile. The only information I&#39;ve found was in de user guide of drools flow<br>
&gt; (section 5.3)<br>
&gt; <a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html_single/index.html" target="_blank">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html_single/index.html</a><br>

&gt;<br>
&gt; But I&#39;m not using ruleflow<br>
&gt;<br>
&gt; And in de Drools Expert guide:<br>
&gt; <a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html" target="_blank">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html</a> in<br>

&gt; section 3.3.5 there is information how to make an audit log, which one can<br>
&gt; view via Eclipse.<br>
&gt;<br>
&gt; But I want to make a simple log file (like a server.log) but for the rules<br>
&gt; I&#39;ve made in Guvnor. Which is in the system and testers can check if<br>
&gt; something strange happens or pure for their own information. so they can<br>
&gt; watch the process without any technical knowledge.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I hope you can help me further as where to find some information or example<br>
&gt; how to use a global object that handles logging...<br>
&gt;<br>
&gt; Or where to find the guide your talking about...<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Using a &quot;global&quot; object that handles logging would probably be the simplest.<br>
&gt;<br>
&gt; Look at the User Guide for use of globals.<br>
&gt;<br>
&gt; 2010/9/2 Solingen, Stephanie &lt;<a href="mailto:stephanie.solingen@atosorigin.com">stephanie.solingen@atosorigin.com</a>&gt;<br>
&gt;<br>
&gt;&gt; Hi,<br>
&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;&gt; Can anyone give me a code example how to create a logfile when using a<br>
&gt;&gt; rule<br>
&gt;<br>
&gt;&gt; agent (rulebase) and statefulsession?<br>
&gt;<br>
&gt;&gt; The goals is to replace all system.out.println(); statements in de rules<br>
&gt;<br>
&gt;&gt; with Log();<br>
&gt;<br>
&gt;&gt; (the rules are made with the Guvnor GUI, and I am using Guvnor 5.1 with a<br>
&gt;<br>
&gt;&gt; oc4j server)<br>
&gt;<br>
&gt;&gt; The text that is in de Log() should then appear in an existing logfile.<br>
&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;&gt; Thanx in advance.<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div><div><div></div><div class="h5">&gt; _______________________________________________<br>
&gt; rules-users mailing list<br>
&gt; <a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
&gt;<br>
&gt;<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br>