How to Enable Debug Logging Verbosity in Kubernetes NMState Operator on Openshift
Issue
- To diagnose and resolve issues with the
Kubernetes NMState Operatoron OpenShift, enable debug logging to understand nmstate-handler activities. - If you need to report a bug, just enable
--zap-log-level=debugto collect all trace information to further investigation. Verbosity of logging can be one of ‘debug’, ‘info’, ‘error’, or any integer value > 0 which corresponds to custom debug levels of increasing verbosity.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.14.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.