This article provides instructions on how to use Action Trace for Clarity
Action Tracing is beneficial for troubleshooting certain Clarity issues, including performance related issues (especially slow performance for a certain area/feature in the product).
1. Update the resource's (user's) "Action Tracing" field to Trace Statements and Save
Screen shot of Action Tracing setting:
The instructions provided here, will allow the Clarity Administrator to execute steps to create separate Action Trace Log files for specific end-users.
NOTE: The following 2 flags should be set to true in order to allow SQL Action Trace to work:
traceEnabled="true" - this parameter the result set and sql query traceJDBCEnabled="true"
If these values are set to "false" then tracing will not generate. Hence, to enable tracing you would need to either set both of these parameters to "true" or remove both parameters from properties.xml which requires a stop/restart of the Clarity services. Likewise, once the tracing has been completed you would need to stop the services, change the parameter values back to "false" or add the above values back into properties.xml, and then restart the Clarity services.
KB Articles on troubleshooting Action Tracing issues:
See also: How to enable SQL Trace for XOG?
The below video will demonstrate the steps to enable SQL trace for CA PPM Versions prior to 15.1:
Clarity - SQL Trace Activation (YouTube)
Action Trace logging in V13 and higher no longer uses the SQLTRACE_ACTIVE trace levels in the CMN_SEC_USERS table as described in technical articles for prior releases. The detail level is now controlled by the logging priority level for the 'trace.server' category. The Debug level provides performance information, query text, parameter values, and resource usage - equivalent to the trace level "4" in the previous versions. The Trace level provides the Debug information plus the result sets, equivalent to trace level "8". Make sure to re-login after each change to a user-specific Action Trace logging configuration.
NOTE: The following 2 flags should be set to true in order to allow SQL Action Trace to work:
traceEnabled="true" - this parameter the result set and sql query traceJDBCEnabled="true"
If these values are set to "false" then tracing will not generate! Hence, to enable tracing you would need to either set both of these parameters to "true" or remove both parameters from properties.xml which requires a stop/restart of the Clarity services. Likewise, once the tracing has been completed you would need to stop the services, change the parameter values back to "false" or add the above values back into properties.xml, and then restart the Clarity services.
For more information on the configuration fields in this page, reference the Clarity Installation Guide.