Skip to content

Commit a38d3cc

Browse files
committed
UPSTREAM: <drop>: Bump log level of the snapshot controller
Temporarily force log level 5 to debug OCPBUGS-66967.
1 parent 9098db0 commit a38d3cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cmd/snapshot-controller/main.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ func main() {
167167
logs.InitLogs()
168168
standardflags.AddAutomaxprocs(klog.Infof)
169169
flag.Parse()
170+
// Force log level to 5 for debugging
171+
flag.Set("v", "5")
172+
170173
if err := logsapi.ValidateAndApply(c, fg); err != nil {
171174
klog.ErrorS(err, "LoggingConfiguration is invalid")
172175
klog.FlushAndExit(klog.ExitFlushTimeout, 1)

0 commit comments

Comments
 (0)