Business rule logging

PolicyCenter writes audit information to the console log and to the PolicyCenter log file whenever a rule evaluation triggers a business rule. Unless specified otherwise, PolicyCenter writes the business rule information at the log INFO level for the following logging categories and subcategories:

BizRules
  BizRules.Audit
  BizRules.Autocomplete
  BizRules.Compiler
  BizRules.ContextHelp
  BizRules.Export
  BizRules.Import
  BizRules.UI
  BizRule.Validation

The business rule information that PolicyCenter logs includes the following:

  • The rule context
  • The rule ID
  • Whether the rule condition evaluates to true or false
  • The rule action parameters as a list of name-value pairs, which is empty if the condition evaluates to false

Default logging level

The default logging level for business rules is INFO. It is possible for the standard operation of the business rules to generate a large amount of entries in the business rules logging file. You can reduce the amount and frequency of business rule logging by setting the logging level to a higher threshold, for example, WARN.

To change the default logging level for the business rules, add the following entry to file log4j2.xml:
  • log4j.category.BizRules=WARN

See also