From 366459aee84a4de1f0342a464bd479a5d12e6f0f Mon Sep 17 00:00:00 2001 From: Walter Fender Date: Fri, 8 Sep 2017 10:00:50 -0700 Subject: [PATCH] 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. --- staging/src/k8s.io/apiserver/pkg/util/flag/flags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/staging/src/k8s.io/apiserver/pkg/util/flag/flags.go b/staging/src/k8s.io/apiserver/pkg/util/flag/flags.go index 6dd62bdc08..55a3ed34a8 100644 --- a/staging/src/k8s.io/apiserver/pkg/util/flag/flags.go +++ b/staging/src/k8s.io/apiserver/pkg/util/flag/flags.go @@ -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) }) }