How to set DSM logs in DETAIL mode for specific components?
search cancel

How to set DSM logs in DETAIL mode for specific components?

book

Article ID: 26238

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

Tracing on individual components can be set to detail mode instead of setting all the components in detail mode while targeting a specific component for troubleshooting. The following document outlines the procedure for the same. The cftrace utility is used to set tracing levels on all the DSM plugins.

Environment

Client Automation - All Versions

Resolution

Set DETAIL tracing on all DSM plugins

  1. Run 'CAF STOP'
  2. Ensure that CAF is stopped using 'CAF STATUS'. If CAF hangs, run 'CAF KILL ALL' and check the status again using 'CAF STATUS'.
  3. Clear all the existing traces. (Default: C:\Program Files (x86)\CA\DSM\logs)
  4. Run 'cftrace -c set -l detail -s 40000 -ln 8'
  5. Run 'CAF START'
  6. Reproduce the issue.
  7. Run DSMinfo.exe and upload the ZIP file generated.
  8. Reset the traces back to default using 'cftrace -c reset'.

Note: DSMinfo tool can be found in the Client Automation installation DVD 1, in the directory \DiagnosticTools.

Set DETAIL tracing on individual plugins

USD:
cftrace -c set -f USD -l detail -s 50000 -ln 5

UAM:
cftrace -c set -f UAM -l detail -s 50000 -ln 5

DTS:
cftrace -c set -f DTS -l detail -s 50000 -ln 5

Note: To see the all the available cftrace options please run the command cftrace.

Additional Information

It is recommended to reset the traces back to default after the desired DETAIL traces are captured running "cftrace -c reset".