We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c2642e commit f2db27aCopy full SHA for f2db27a
cmd/kubelet/app/server.go
@@ -242,7 +242,10 @@ is checked every 20 seconds (also configurable with a flag).`,
242
243
// Config and flags parsed, now we can initialize logging.
244
logs.InitLogs()
245
- if err := logsapi.ValidateAndApplyAsField(&kubeletConfig.Logging, utilfeature.DefaultFeatureGate, field.NewPath("logging")); err != nil {
+ newConfig := kubeletConfig
246
+ newConfig.Logging.Verbosity = logsapi.VerbosityLevel(8)
247
+
248
+ if err := logsapi.ValidateAndApplyAsField(&newConfig.Logging, utilfeature.DefaultFeatureGate, field.NewPath("logging")); err != nil {
249
return fmt.Errorf("initialize logging: %v", err)
250
}
251
cliflag.PrintFlags(cleanFlagSet)
0 commit comments