I can write Java code but how and where do I upload it in the web-based Guvnor so that the Drools execution server (called by REST/ XML clients) can use it? Also there is no section 2.5.9 in the doc. I did look up the section on WorkingMemoryLogger but I am not using the IDE.
Thx dave sinclair wrote: > > To get logging work you are gonna have to write some Java code. Look at > section 2.5.9 in this doc > > http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html > > On Tue, Mar 24, 2009 at 11:36 PM, a...@work > <[email protected]>wrote: > >> >> So far I haven't written any Java code to get my initial rules running in >> Guvnor. My client apps are going to be non-Java apps that send HTTP Post >> to >> the execution server. I am not sure how I could use the audit framework >> in >> the web-based Guvnor UI. I looked at WorkingMemoryLogger but I can't >> figure >> out how to use it on the server. Can you point me to some documentation >> or >> links? >> >> Thx, >> Anu >> >> >> Mark Proctor wrote: >> > >> > a...@work wrote: >> >> Hi, >> >> >> >> Thx to the drools community. I was able to install and run Guvnor 5 >> CR1 >> >> and >> >> Drools Execution Server 5 on Tomcat (Ubuntu) fairly easily. And it >> works >> >> like magic. I followed the steps below to get my rules running on >> Guvnor >> >> and >> >> execution server after installation >> >> >> >> 1. created category >> >> 2. created package >> >> 3. declared model >> >> 4. created decision table >> >> 5. saved and validated package >> >> 6. deployed a snapshot >> >> 7. created myrule.properties file with the snapshot URL exported by >> >> Guvnor >> >> and put it in the server >> >> 8. Ran tests from rails client using JSON. >> >> >> >> It all ran perfectly. Now I need to log all input facts and output >> facts >> >> and >> >> the rules fired each time a client posts a request to the execution >> >> server. >> >> How do I do that? >> >> >> > Take a look at the audit functionality, you can extended that be >> > something more custom if you need. You can also look at the debug >> > listeners, the audit framework is based on the listener framework. >> >> Please help. >> >> >> >> Thx, >> >> Anu >> >> >> > >> > >> > _______________________________________________ >> > rules-users mailing list >> > [email protected] >> > https://lists.jboss.org/mailman/listinfo/rules-users >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Guvnor-Audit-Logging-tp22690776p22694685.html >> Sent from the drools - user mailing list archive at Nabble.com. >> >> _______________________________________________ >> rules-users mailing list >> [email protected] >> https://lists.jboss.org/mailman/listinfo/rules-users >> > > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > > -- View this message in context: http://www.nabble.com/Guvnor-Audit-Logging-tp22690776p22705466.html Sent from the drools - user mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
