File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,42 @@ Currently the log levels correspond to:
78
78
| Trace | 6 |
79
79
| TraceAll | 10 |
80
80
81
+
82
+ The log level of cluster-kube-controller-manager-operator can be increased by setting ` .spec.operatorLogLevel ` field:
83
+ ```
84
+ $ oc explain KubeControllerManager.spec.operatorLogLevel
85
+ GROUP: operator.openshift.io
86
+ KIND: KubeControllerManager
87
+ VERSION: v1
88
+ FIELD: operatorLogLevel <string>
89
+ DESCRIPTION:
90
+ operatorLogLevel is an intent based logging for the operator itself. It
91
+ does not give fine grained control, but it is a simple way to manage coarse
92
+ grained logging choices that operators have to interpret for themselves.
93
+ Valid values are: "Normal", "Debug", "Trace", "TraceAll". Defaults to
94
+ "Normal".
95
+ ```
96
+ For example:
97
+ ``` yaml
98
+ apiVersion : operator.openshift.io/v1
99
+ kind : KubeControllerManager
100
+ metadata :
101
+ name : cluster
102
+ spec :
103
+ operatorLogLevel : Debug
104
+ ...
105
+ ```
106
+
107
+ Currently the operator log levels correspond to:
108
+
109
+ | logLevel | log level |
110
+ | -------- | --------- |
111
+ | Normal | 2 |
112
+ | Debug | 4 |
113
+ | Trace | 6 |
114
+ | TraceAll | 8 |
115
+
116
+
81
117
```
82
118
$ oc explain kubecontrollermanager
83
119
```
You can’t perform that action at this time.
0 commit comments