To get logging work you are gonna have to write some Java code. Look at section 2.5.9 in this doc<br><br><a href="http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html">http://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-expert/html_single/index.html</a><br>
<br><div class="gmail_quote">On Tue, Mar 24, 2009 at 11:36 PM, Anu@work <span dir="ltr">&lt;<a href="mailto:anupama.vaid@bluecasa.com">anupama.vaid@bluecasa.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
So far I haven&#39;t written any Java code to get my initial rules running in<br>
Guvnor. My client apps are going to be non-Java apps that send HTTP Post to<br>
the execution server. I am not sure how I could use the audit framework in<br>
the web-based Guvnor UI. I looked at WorkingMemoryLogger but I can&#39;t figure<br>
out how to use it on the server. Can you point me to some documentation or<br>
links?<br>
<br>
Thx,<br>
Anu<br>
<br>
<br>
Mark Proctor wrote:<br>
&gt;<br>
&gt; Anu@work wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; Thx to the drools community. I was able to install and run Guvnor 5 CR1<br>
&gt;&gt; and<br>
&gt;&gt; Drools Execution Server 5 on Tomcat (Ubuntu) fairly easily. And it works<br>
&gt;&gt; like magic. I followed the steps below to get my rules running on Guvnor<br>
&gt;&gt; and<br>
&gt;&gt; execution server after installation<br>
&gt;&gt;<br>
&gt;&gt; 1. created category<br>
&gt;&gt; 2. created package<br>
&gt;&gt; 3. declared model<br>
&gt;&gt; 4. created decision table<br>
&gt;&gt; 5. saved and validated package<br>
&gt;&gt; 6. deployed a snapshot<br>
&gt;&gt; 7. created myrule.properties file with the snapshot URL exported by<br>
&gt;&gt; Guvnor<br>
&gt;&gt; and put it in the server<br>
&gt;&gt; 8. Ran tests from rails client using JSON.<br>
&gt;&gt;<br>
&gt;&gt; It all ran perfectly. Now I need to log all input facts and output facts<br>
&gt;&gt; and<br>
&gt;&gt; the rules fired each time a client posts a request to the execution<br>
&gt;&gt; server.<br>
&gt;&gt; How do I do that?<br>
&gt;&gt;<br>
&gt; Take a look at the audit functionality, you can extended that be<br>
&gt; something more custom if you need. You can also look at the debug<br>
&gt; listeners, the audit framework is based on the listener framework.<br>
&gt;&gt; Please help.<br>
&gt;&gt;<br>
&gt;&gt; Thx,<br>
&gt;&gt; Anu<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&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>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://www.nabble.com/Guvnor-Audit-Logging-tp22690776p22694685.html" target="_blank">http://www.nabble.com/Guvnor-Audit-Logging-tp22690776p22694685.html</a><br>
Sent from the drools - user mailing list archive at Nabble.com.<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>
</font></blockquote></div><br>