OpenShift - log level option (--loglevel)

by
Jeremy Canfield |
Updated: June 16 2022
| 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