mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Ensure we log the flag apiserver starts with.
Trying to make sure we always log the flags an instance of apiserver starts with. This can be especially valuable for emailed logs or e2e/kubemark tests.
This commit is contained in:
parent
36b3a0d75b
commit
366459aee8
@ -49,6 +49,6 @@ func InitFlags() {
|
||||
pflag.CommandLine.AddGoFlagSet(goflag.CommandLine)
|
||||
pflag.Parse()
|
||||
pflag.VisitAll(func(flag *pflag.Flag) {
|
||||
glog.V(4).Infof("FLAG: --%s=%q", flag.Name, flag.Value)
|
||||
glog.V(2).Infof("FLAG: --%s=%q", flag.Name, flag.Value)
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user