How do you enable debugging for the 'Time Slicing Sync' job used for per-period metrics and Group by Aggregation in the Modern User Experience (UX) for SQLCurves?
How do you detect if a sql curve is out of sync with the corresponding nkcurve?
Environment
Component: Clarity Time Slicing Sync job (renamed from Time Slicing Group By job starting in 15.9.2)
Release: 15.9.1 and higher
Resolution
Step 1: Enable debugging
Log in to Clarity as an Administrator
Replace everything after 'action:' in the URL with 'Security.Logs'
Click on the Logs drop-down and select 'Edit Configuration'
Click Add Category
Scroll down to the new category created and add the following
Other Name = com.niku.blobcrack.SqlCurveCrack
Appender = STDOUT
Priority = Debug
Click Save
Step 2: Ensure 'Debug Logging' is checked
This should be checked in job parameters.
This was named 'Log debug output' in 15.9.1:
Step 3: Review the details in the bg-ca.log.
Search for 'blobcrack.SqlCurveCrack' to find output related to the job
Step 4: Disable debugging
Once debugging is captured, make sure to disable debugging. This will prevent the logs from filling up with debug information in case the job is checked to run with the parameter 'Log debug output'.
Options to disable below:
Delete the blobcrack.SqlCurveCrack category
OR
Change the Priority of the category from Debug to Fatal.