How to enable DEBUG log for the Virtual Service Catalog
search cancel

How to enable DEBUG log for the Virtual Service Catalog

book

Article ID: 134358

calendar_today

Updated On:

Products

CA Application Test Service Virtualization

Issue/Introduction

Have installed DevTest on a Linux box and can see IAM and VSC components up and running, but, did not find the logs in lisatmp directory.

Where can we find the logs and how to enable DEBUG logs for Virtual service catalog service?



Environment

All supported DevTest releases.

Cause

N/A

Resolution

By following below steps, you can enable Virtual Service Catalog logs into DEBUG mode.

  • Go to Virtual service catalog installation folder and open application.yml file (create the file, if not exists)
  • Add below lines to the file: 

     svcatalog:
      auth:
        host: 
          url: https://localhost:51111/auth
    logging:
     level:
      com:
        ca:
          ad:
            sv: DEBUG
     file: C:\DevTest\logs\vscatalog.log

  • Restart Virtual service catalog service to reflect these changes.

 

After the above changes, VSCatalog.log file is created in the installation directory of the Virtual Service Catalog folder and the logs are DEBUG enabled.

Note: make sure the indentation is only one character. If the log file need to be at a specific path, then you can give the specific path for "file".

Additional Information

Refer to section "Configure Virtual Service Catalog" and click link "Configure Virtual Service Catalog" in the documentation of the DevTest release you are running.