How to enable/disable the DSM/ITCM WAC (Web Admin Console) traces and where are they created?

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

Description:

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 CA Support.

Solution:

  • 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 %SDROOT%\..\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\config\waclog.properties

    3. Edit the file %SDROOT%\..\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:

      %SDROOT%\..\Web Console\webapps\wac\WEBINF\classes\com\ca\wac\log\wac_log.log

    5. Delete the files
      %SDROOT%\..\logs\TRC_CF_WAC*.log

      %SDROOT%\..\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. %SDROOT%\..\logs\TRC_CF_WAC*.log

    2. %SDROOT%\..\logs\TRC_CF_WEBSERVICES*.log

    3. %SDROOT%\..\Web Console\webapps\wac\WEB-INF\classes\com\ca\wac\log\*.*

    4. %SDROOT%\..\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 %SDROOT%\..\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