Client Automation - Run CAM in debug mode
search cancel

Client Automation - Run CAM in debug mode

book

Article ID: 25195

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

How do I run CAM in debug mode?

Environment

Client Automation - All Versions

Resolution

Set CAM Tracing

  • Set the 'CA Message Queuing Service' (CAM) service to manual using the Service Configuration Panel or run ‘cam change disabled’
  • Stop the CAM service using the command:
    camclose
  • Delete the existing cam logs from "%cai_msq%\logs" folder
  • Set the 'CA Message Queuing Service' back to automatic or using the command ‘cam change auto’
  • Start the CAM service using the command:
    cam start
  • Set tracing using the command:

camconfig trace=+all-timer

camconfig tr_log_files=32

camconfig tr_log_size=4096

 

Alternately, you can set configure the CAM tracing manually as below:

  • Run "camsave persist" which creates the cam.cfg configuration file
    (cam.cfg is not present by default)
  • Modify the file using notepad as follows:
    *CONFIG 
    trace=+all-timer 
    tr_log_files=32 
    tr_log_size=4096
  • Save the file and recycle CAM by running "camclose"

Note: CAM is configured to auto-start and if the service is set to auto, it will automatically restart.

Additional Information

Reset CAM Tracing

To disable CAM tracing run the commands:

camconfig trace=none

camconfig tr_log_files=8

camconfig tr_log_size=1024

OR modify cam.cfg as below:

          *CONFIG 

trace=none
tr_log_files=8 
tr_log_size=1024