Client Automation - How to enable Web Admin Console traces and where are they created?
search cancel

Client Automation - How to enable Web Admin Console traces and where are they created?

book

Article ID: 51818

calendar_today

Updated On:

Products

CA Client Automation CA Client Automation - Patch Manager CA Client Automation - IT Client Manager

Issue/Introduction

In some occasions Support may require the DSM/ITCM WAC (Web Admin Console) traces to add more information to an incident follow up.

Follow the statements here below to collect such information and provide it to Broadcom Support.

Environment

Client Automation - All versions

Resolution

  • To enable the trace in debug mode for WAC proceed as follows:

    1. Run the following command to stop TomCat:

      caf stop tomcat

    2. Make a backup copy of the file ..\CA\DSM\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\config\waclog.properties

    3. Edit the file ..\CA\DSM\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\config\waclog.properties
      and change these lines as follow:

      ___________________________________________
      ...
      log4j.rootCategory=DEBUG, A1
      log4j.logger.com=DEBUG
      log4j.logger.com.ca.wac.wsstubs=DEBUG
      ...
      log4j.appender.A1.MaxFileSize=10240KB
      log4j.appender.A1.MaxBackupIndex=4
      ___________________________________________

    4. Delete the file:

      ..\CA\DSM\Web Console\webapps\wac\WEBINF\classes\com\ca\wac\log\wac_log.log

    5. Delete the files
      ..\CA\DSM\logs\TRC_CF_WAC*.log

      ..\CA\DSM\logs\TRC_CF_WEBSERVICES*.log

    6. Run the following command s to enable the DSM/ITCM detail traces on the proper processes:


      cftrace -c set -f CF -l detail -s 50000 -ln 4

    7. Start TomCat again by issuing the following command:

      caf start tomcat

  • Attach the following files to the support issue:

    1. ..\CA\DSM\logs\TRC_CF_WAC*.log

    2. ..\CA\DSM\logs\TRC_CF_WEBSERVICES*.log

    3. ..\CA\DSM\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\log\*.*

    4. ..\CA\DSM\Web Console\logs\*.*

    NOTE: Copy the files to another location prior to compress, as some of them could not be compressed because they are in use.

  • To disable the DSM/ITCM WAC traces proceed as follows:

    1. Run the following command to stop TomCat:

      caf stop tomcat

    2. Restore the backup copy of the file ..\CA\DSM\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\config\waclog.properties we previously made.

    3. Start TomCat again by issuing the following command:

      caf start tomcat

    4. Run the following command to reset the DSM/ITCM traces:

      cftrace -c reset