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:
- 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.
- Create separate rule traces where each rule trace only logs a single rule.
- Go to Manage Data - create new
- Select rule trace
- Give a name
- 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.
- Select user ( user who will test or triger change)
- Select rule: leave blank ( do not select any rule) ( select a rule if you are checking specific rule )
- Save
FAQ - Additional Information
Q) Where can I get information on this from the Guide?
See Also
Keywords
Rule trace log files Business execution logs , KBA , LOD-SF-EC-JOB-RUL , Job Info Business Rules , Problem