diff --git a/cmd/snapshot-controller/main.go b/cmd/snapshot-controller/main.go index ce7fc38fd..fe8d4be24 100644 --- a/cmd/snapshot-controller/main.go +++ b/cmd/snapshot-controller/main.go @@ -167,6 +167,9 @@ func main() { logs.InitLogs() standardflags.AddAutomaxprocs(klog.Infof) flag.Parse() + // Force log level to 5 for debugging + flag.Set("v", "5") + if err := logsapi.ValidateAndApply(c, fg); err != nil { klog.ErrorS(err, "LoggingConfiguration is invalid") klog.FlushAndExit(klog.ExitFlushTimeout, 1)