How to Enable Debug Logging Verbosity in Kubernetes NMState Operator on Openshift

Solution Verified - Updated -

Issue

  • To diagnose and resolve issues with the Kubernetes NMState Operator on OpenShift, enable debug logging to understand nmstate-handler activities.
  • If you need to report a bug, just enable --zap-log-level=debug to 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content