Configuring Business Logger for Lean Rules Engine 
You use this procedure to define details about the lifecycle of ruleset execution that need to be logged by business logs.
In the logging properties file of JDK in your application, add
com.sap.brms.BusinessLogFilehandler.
Note
The default location of the logging properties file is jre\lib. Configuring logging properties file is one of the ways of Java logging configuration.
To configure the .handlers property file, add
com.sap.brmbusinesslogshandler=com.sap.brms.qrules.businessloggingimpl.BusinessLogsFileHandler
Add the following code in the properties file.
com.sap.brms.qrules.businessloggingimpl.BusinessLogsFileHandler .pattern=<path>/<Filename>.log
com.sap.brms.qrules.businessloggingimpl.BusinessLogsFileHandler.formatter=java.util.logging .SimplerFormatter
com.sap.brms.qrules.businessloggingimpl.BusinessLogsFileHandler.append=true
com.sap.brms.qrules.businessloggingimpl.BusinessLogsFileHandler.count=1
com.sap.brms.qrules.businessloggingimpl.BusinessLogsFileHandler.filter=com.sap.brms.qrules.businessloggingimpl.BRMFilter
Determine one of the following methods to set log levels, and then implement the relevant method.
Using RulesetContext method
Using ReteEngine property
More information, see Determining a Method to Set Log Levels in Lean Rules Engine