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

Michael Anstis michael.anstis at gmail.com
Fri Sep 3 05:54:11 EDT 2010


Yes "he" did ;-)

2010/9/3 nch <underscore_dot at yahoo.com>

> I guess he refers to "4.5.2. global" in drools expert:
>
> http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html#d0e3157
>
> Cheers
>
> --- El *vie, 3/9/10, Solingen, Stephanie <
> stephanie.solingen at atosorigin.com>* escribió:
>
>
> De: Solingen, Stephanie <stephanie.solingen at atosorigin.com>
> Asunto: Re: [rules-users] How to create logfile when using ruleAgent
> Para: michael.anstis at gmail.com
> CC: rules-users at lists.jboss.org
> Fecha: viernes, 3 de septiembre, 2010 10:44
>
>
>  What user guide do you mean?
>
> I've already read this one:
> http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-guvnor/html_single/index.html
>
> But it does not say anything about globals nor how to make a rule with
> Log() (instead of System.out.println()) , 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)
> http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-flow/html_single/index.html
>
> But I'm not using ruleflow
>
> And in de Drools Expert guide:
> http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-expert/html_single/index.html in
> section 3.3.5 there is information how to make an audit log, which one can
> view via Eclipse.
>
> 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.
>
>
>
> I hope you can help me further as where to find some information or example
> how to use a global object that handles logging...
>
> Or where to find the guide your talking about...
>
>
>
> 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.
>
>
>
> -----Adjunto en línea a continuación-----
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org<http://mc/compose?to=rules-users@lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> _______________________________________________
> 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/20100903/ccbf0998/attachment.html 


More information about the rules-users mailing list