SAP Knowledge Base Article - Public

2602486 - Rule trace not capturing logs for all rules

Symptom

Rule trace not capturing logs for all rules.User is performing some job info changes which will have to execute n number of rules.However rule trace log is not displaying all the rules in the log file.Its displaying some rules

Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.

Environment

  • SuccessFactors Employee Central
  • Business Rules

Cause

The Rule Trace log file (downloadable csv file) has a threshold of 5 MB. by default. Once this thershold has exceeded the log file gets reseted and it starts from 0KB again.Here the initial logs get overwritten by the latest rule once the threshold limit is reached and hence will not display the rules which got initially executed.

Resolution

 

Please refer to : Business Rule Execution Log

The log file for a rule trace has a maximum threshold of 5 MB. If the log file exceeds this threshold, you must manaually delete some entries to remain under the threshold. So, if you’re either tracing many or even all rules, or the rules are quite complex, then you might run into the problem that the log isn’t complete. You don't even see the specific rules that were executed. In this case, you have the following options:

  1. Set the trace mode to Short. This mode reduces the number of logs significantly. Details of the rule executions aren’t logged anymore, but you still see which rules were executed, which parameters were passed, which actions were executed, and the status for each rule execution.
  2. Create separate rule traces where each rule trace only logs a single rule.
  1. Go to Manage Data - create new
  2. Select rule trace
  3. Give a name
  4. Start and end date ( must be the same date) or You can set up a rule trace for a maximum time period of 2 days. This is to ensure that only new and up-to-date traces are active in the system at any particular time.
  5. Select user ( user who will test or triger change)
  6. Select rule: leave blank ( do not select any rule) ( select a rule if you are checking specific rule )
  7. Save

FAQ - Additional Information

Q) Where can I get information on this from the Guide?

A) Guide:Implementing Business Rules in SAP SuccessFactors

Chapter:Creating Business Rule Execution Logs

See Also

  • 2510994 - How to use Rule Trace
  • 2602486 - Rule trace not capturing logs for all rules 
  • 2472648 - Check Tool: How to check your SuccessFactors configuration
  • 3319018 - How To Enable Feature Data Inspector
  • 3091459 - Service Layer Logger FAQ - CS2H2022

Keywords

Rule trace log files Business execution logs , KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , Problem

Product

SAP SuccessFactors HCM Suite all versions