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.

Kubernetes-commit: 366459aee84a4de1f0342a464bd479a5d12e6f0f
This commit is contained in:
Walter Fender 2017-09-08 10:00:50 -07:00 committed by Kubernetes Publisher
parent e487f0d4e0
commit 9a6c2541ac
1 changed files with 1 additions and 1 deletions

View File

@ -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)
})
}