Nope, and your suggestion scores +1.<br><br><div class="gmail_quote">On 3 September 2010 10:57, Wolfgang Laun <span dir="ltr"><<a href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>></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't any intrinsic difference between a<br>
System.out.println( "I say Hello" ) or a<br>
Log.write( "You say Goodbye" ), is there?<br>
<br>
-W<br>
<br>
<br>
2010/9/3 Solingen, Stephanie <<a href="mailto:stephanie.solingen@atosorigin.com">stephanie.solingen@atosorigin.com</a>>:<br>
<div><div></div><div class="h5">> What user guide do you mean?<br>
><br>
> I've already read this one:<br>
> <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>
><br>
> But it does not say anything about globals nor how to make a rule with Log()<br>
> (instead of System.out.println()) , so the information is added to a<br>
> logfile. The only information I've found was in de user guide of drools flow<br>
> (section 5.3)<br>
> <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>
><br>
> But I'm not using ruleflow<br>
><br>
> And in de Drools Expert guide:<br>
> <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>
> section 3.3.5 there is information how to make an audit log, which one can<br>
> view via Eclipse.<br>
><br>
> But I want to make a simple log file (like a server.log) but for the rules<br>
> I've made in Guvnor. Which is in the system and testers can check if<br>
> something strange happens or pure for their own information. so they can<br>
> watch the process without any technical knowledge.<br>
><br>
><br>
><br>
> I hope you can help me further as where to find some information or example<br>
> how to use a global object that handles logging...<br>
><br>
> Or where to find the guide your talking about...<br>
><br>
><br>
><br>
> Using a "global" object that handles logging would probably be the simplest.<br>
><br>
> Look at the User Guide for use of globals.<br>
><br>
> 2010/9/2 Solingen, Stephanie <<a href="mailto:stephanie.solingen@atosorigin.com">stephanie.solingen@atosorigin.com</a>><br>
><br>
>> Hi,<br>
><br>
>><br>
><br>
>> Can anyone give me a code example how to create a logfile when using a<br>
>> rule<br>
><br>
>> agent (rulebase) and statefulsession?<br>
><br>
>> The goals is to replace all system.out.println(); statements in de rules<br>
><br>
>> with Log();<br>
><br>
>> (the rules are made with the Guvnor GUI, and I am using Guvnor 5.1 with a<br>
><br>
>> oc4j server)<br>
><br>
>> The text that is in de Log() should then appear in an existing logfile.<br>
><br>
>><br>
><br>
>> Thanx in advance.<br>
><br>
><br>
><br>
</div></div><div><div></div><div class="h5">> _______________________________________________<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>
><br>
><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>