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?
Release : Any
By default, log level is INFO
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
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