Commit 366459ae authored by Walter Fender's avatar Walter Fender

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.
parent 36b3a0d7
...@@ -49,6 +49,6 @@ func InitFlags() { ...@@ -49,6 +49,6 @@ func InitFlags() {
pflag.CommandLine.AddGoFlagSet(goflag.CommandLine) pflag.CommandLine.AddGoFlagSet(goflag.CommandLine)
pflag.Parse() pflag.Parse()
pflag.VisitAll(func(flag *pflag.Flag) { 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)
}) })
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment