How do I run CAM in debug mode?

Document ID : KB000025195
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary: 

How do I run CAM in debug mode?

 

Environment:  

All version of CA Client Automation

 

Instructions: 

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.

 

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