diff --git a/README.md b/README.md index f6f1aa2..d6a6c15 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,7 @@ If you think you have found a bug please follow the instructions below. - Open a [new issue](https://github.com/aquasecurity/kube-bench/issues/new) if a duplicate doesn't already exist. - Note the version of kube-bench you are running (from `kube-bench version`) and the command line options you are using. - Note the version of Kubernetes you are running (from `kubectl version` or `oc version` for OpenShift). -- Set `-v 10` command line option and save the log output. Please paste this into your issue. +- Set `-v 10 --logtostderr` command line options and save the log output. Please paste this into your issue. - Remember users might be searching for your issue in the future, so please give it a meaningful title to help others. ### Features diff --git a/cmd/root.go b/cmd/root.go index 55748ec..52f706e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -102,7 +102,6 @@ var RootCmd = &cobra.Command{ // Execute adds all child commands to the root command sets flags appropriately. // This is called by main.main(). It only needs to happen once to the rootCmd. func Execute() { - goflag.Set("logtostderr", "true") goflag.CommandLine.Parse([]string{}) if err := RootCmd.Execute(); err != nil {