OpenShift - log level option (--loglevel)

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

Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.





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




Comments

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |