Enabling DEBUG logging level in Tanzu Intelligence Assist feature in Tanzu Hub
search cancel

Enabling DEBUG logging level in Tanzu Intelligence Assist feature in Tanzu Hub

book

Article ID: 450739

calendar_today

Updated On:

Products

VMware Tanzu Platform - Hub

Issue/Introduction

When troubleshooting the Tanzu Intelligence Assist feature in Tanzu Hub, the default log level may not provide sufficient information; changing the logging level to DEBUG will offer further insights.

Resolution

1) Edit the tia-plus deployment in the tanzusm namespace and set the TIA_PLUS_LOG_LEVEL environment variable to DEBUG:

kubectl -n tanzusm edit deploy tia-plus 

and change it as below snippet:

        - name: TIA_PLUS_LOG_LEVEL
          value: DEBUG

Wait for the pods to roll out, then check the logs on the new pod, which should now provide detailed output.