How to Enable DEBUG Logging for TDM Portal Troubleshooting
search cancel

How to Enable DEBUG Logging for TDM Portal Troubleshooting

book

Article ID: 9851

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

When troubleshooting TDM Portal issues, Broadcom Support often requires DEBUG-level log files to identify the root cause. This article provides detailed steps to enable DEBUG mode."

 

Environment

Test Data Manager Web Portal

Resolution

To enable DEBUG logging for the TDM Portal, follow these steps based on your installation type:

TDM Portal (Windows Installation)

  1. Navigate to C:\Program Files\CA\CA Test Data Manager Portal\conf and locate the logback-tdm.xml file.
  2. Open the file in an editor (e.g., Notepad++ or Wordpad). You may need to copy it to another location to edit and then replace the original.
  3. Search for the following line, near the bottom of the file (around line 60): 
    <!--    <logger name="com.ca.tdm" level="DEBUG" />-->
  4. Uncomment this line, so that it looks like:
    <logger name="com.ca.tdm" level="DEBUG" />
  5. Save the changes to the file.
  6. Stop the CA Test Data Manager Portal service.
  7. Delete or move all existing log files from C:\ProgramData\CA\CA Test Data Manager Portal\logs\ to ensure a clean set of logs for your test.
  8. Start the CA Test Data Manager Portal service. It will take a few minutes for all the microservices to start.
  9. Reproduce the issue and zip-up the entire C:\ProgramData\CA\CA Test Data Manager Portal\logs\ folder, and upload the zip file to the support case for support to review.

TDM Portal (Docker Container)

  1. Edit the docker-compose.yml file used to create the image.
  2. Enable debug mode by setting the following key:
    LOGGING_LEVEL_COM_CA_TDM: DEBUG
  3. Stop the TDM Portal Docker instance
  4. Navigate to the TDM Home directory. By default this is /home/tdm/.tdm/logs/. Delete or move all existing logs to ensure a clean set of logs for your test.

  5. Restart the TDM Portal Docker instance

  6. Reproduce the issue, and tar or zip the entire /home/tdm/.tdm/logs/ directory and upload to the support case for support to review.

 



Additional Information

If you face any issues or have any questions about the steps, please open a support case by going to https://support.broadcom.com/ or by calling customer care at https://support.broadcom.com/contact-support.html