<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 2: Fix Knowledge Session Audit Logging</title><link href="https://sourceforge.net/p/ccrvalidator/bugs/2/" rel="alternate"/><link href="https://sourceforge.net/p/ccrvalidator/bugs/2/feed.atom" rel="self"/><id>https://sourceforge.net/p/ccrvalidator/bugs/2/</id><updated>2010-03-20T16:37:56Z</updated><subtitle>Recent changes to 2: Fix Knowledge Session Audit Logging</subtitle><entry><title>Fix Knowledge Session Audit Logging</title><link href="https://sourceforge.net/p/ccrvalidator/bugs/2/" rel="alternate"/><published>2010-03-20T16:37:56Z</published><updated>2010-03-20T16:37:56Z</updated><author><name>Steven Waldren</name><uri>https://sourceforge.net/u/waldren/</uri></author><id>https://sourceforge.netad52c3d4b3dafccc181c4a6e8f430fe47ce62cab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Drools provides an event based auditing of knowledge sessions. This allows one to capture which rules where tested and which rules were activated.  The default API only allows for file and console logging.  Currently (version 18) of ValidationManager.java just writes the audit to a log file under the tomcat log folder (this is a static reference that needs to be changed to use a property config file).&lt;/p&gt;
&lt;p&gt;The need is to modify ValidationResult XML format to accept a node to represent the audit contents.  The issue is that there is no (have not found) XSD for the file format although it is XML.  This means it will be difficult to add via JAXB and will require creation of a DOM of the validation result.  The audit file could be converted into an org.w3c.xml.Node and then appended to the ValidationResult.xml in the right spot.  Would rather not create a DOM, since it is not needed otherwise.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>