Bootstrap FreeKB - OpenShift - log level option (--loglevel)
OpenShift - log level option (--loglevel)

Updated:   |  OpenShift articles

When debugging some issue with an "oc" command, the --loglevel option can be included to set the log level, which can be helpful in debugging some issue, with 1 being the lowest log level and 10 being the highest.

The oc config view or oc get apiserver commands can be used to display the API Server URL (api.openshift.example.com in this example).

oc login api.openshift.example.com:6443 --loglevel=10

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


Please enter a7d439 in the box below so that we can be sure you are a human.