tc Server logs need more details in order to debug a problem
search cancel

tc Server logs need more details in order to debug a problem

book

Article ID: 402337

calendar_today

Updated On:

Products

VMware Tanzu Spring Runtime

Issue/Introduction

In situations were tc-server-10.1 command tool fails. Having additional logs will be helpful to identify the root cause of the failure.

This document provides information to configure more logging for tc-server-10.1 command tool.

Environment

tc-Server 10.1.x 

Resolution

Following are the steps to configure commons-logging.properties

1. Export env variable

export TCS_HOME_101=<TC-SERVER-INSTALL-DIRECTORY-PATH> 

Where:

    $TCS_HOME_101 = Base location of the tc Server 10.1.x installation, such as /opt/tc-server/10.1

 

2. Edit the file $TCS_HOME_101/dist/tc-server-<version>/conf/commons-logging.properties

vi  $TCS_HOME_101/dist/tc-server-<version>/conf/commons-logging.properties

3. Set .level to ALL

.level=ALL


4. Save 

5. Run the tc-server-10.1 command 

6. Check tc server command log file $TCS_HOME_101/dist/tc-server-<version>/logs/tc-server.log

 

Note: 

To revert logging to normal after issue is identified, repeat above steps, but in Step 3 change .level=WARNING instead of ALL.