search cancel

DX APM - UMA How to enable debug level in logs

book

Article ID: 258407

calendar_today

Updated On:

Products

DX Application Performance Management CA Application Performance Management Agent (APM / Wily / Introscope)

Issue/Introduction

By default, logs level in the Universal Monitoring Agent, UMA, is set to INFO.

In order to troubleshoot it, how can the debug level be set?

Environment

Release : Any

Cause

By default, log level is INFO

Resolution

Edit the daemonset named app-container-monitor

For kubernetes:

     kubectl edit daemonset app-container-monitor -n caapm

For Openshift:

     oc edit daemonset app-container-monitor -n caapm

and change this entry:

From

        - name: CAAPM_CONTAINERINFO_LOG_LEVEL
          value: INFO

To:

        - name: CAAPM_CONTAINERINFO_LOG_LEVEL
          value: DEBUG

Additional Information

Once all the app-container-monitor pods are restarted, the logs will be in debug mode.

     kubectl get pods -n caapm | grep app-container

     kubectl logs app-container-monitor-<POD_ID> -c podmonitor -n caapm