Steps to enable debug logging for the Clarity email notification process.
Before proceeding:
Check in CSA to see if "Detect Log Configuration Changes Automatically" flag is checked
If this setting is not checked, review the steps below first as we require you to stop and start the BG and APP services for logging to take effect.
Resolution
Edit the Clarity Application Logger Configuration:
Login to the Clarity application as an admin user
Modify the URL field to: http://example.com/niku/nu#action:security.logs
Click on Edit Configuration
Scroll down to Category and click Add Category
Type the component name: com.niku.union.notification into the Other Name window
Change Appender to STDOUT.
Change the Priority drop-down box to debug.
Click the Save button.
If you have multiple application servers repeat steps 3-8 above
If "Detect Log Configuration Changes Automatically" flag is NOT checked stop and start the BG and APP services
Generate an email notification
Generate an email notification by running a process with Action Items or schedule a report with notification on completion.
Do this a few times on different applications to kick start emails to be sent out
Disable debugging
Turning on the debugger degrades the performance of the application. So after getting the logs please turn debugger off.
Additional Information
For On Premise clients ,support will request you to share log files from $CLARITY_HOME\logs folder:
app-ca.log
bg-ca.log
Note: If 'useAuthentication' is set to 'True', but 'username' and 'password' are blank, then mails will not be sent out of the application in the latest versions of the product. This is an incorrect configuration that has to be correct in the NSA / CSA.