After you have run a Ruletest in Rule Trace View, you can capture the results in the log or persist the executions of deployed rules in a database. Here, you will capture Ruletest executions in the log.

  1. Connect to the Progress GitHub repository at https://github.com/corticon/server-analytics/tree/main/PersistenceSamples/Sample/PersistToLog/jar/CcPersistToLogger.jar
  2. On the repository's page, select CcPersistToLogger.jar, and then click the download button, as illustrated:


  3. Copy the JAR file from your downloads folder to a staging area on your local machine.
  4. Right-click on the project, and then choose Properties, and then choose Corticon Extensions.
  5. Choose Add. Navigate to your staging location, and then choose the JAR.


  6. Click Apply and Close.
  7. In the Studio's work directory, edit the brms.properties file to add two lines:
    com.corticon.server.analytics.handler.enabled=true
    com.corticon.server.analytics.handler.class=com.corticon.analytics.samples.CcPersistToLogger
  8. Restart Studio.
  9. Open the project's Ruletest, and then choose Run Test with Rule Trace.
  10. Examine the log in the Studio Work directory:


For more about rule execution analytics and persistence, see How to use the Corticon Analytics Handler.