Skip to content

Commit b677c86

Browse files
leodotcloudlizrice
andcommitted
remove always true for logtostderr (aquasecurity#548)
* remove always true for logtostderr * update README for log collection instructions Co-authored-by: Liz Rice <liz@lizrice.com>
1 parent 48e33d3 commit b677c86

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ If you think you have found a bug please follow the instructions below.
332332
- Open a [new issue](https://github.com/aquasecurity/kube-bench/issues/new) if a duplicate doesn't already exist.
333333
- Note the version of kube-bench you are running (from `kube-bench version`) and the command line options you are using.
334334
- Note the version of Kubernetes you are running (from `kubectl version` or `oc version` for OpenShift).
335-
- Set `-v 10` command line option and save the log output. Please paste this into your issue.
335+
- Set `-v 10 --logtostderr` command line options and save the log output. Please paste this into your issue.
336336
- Remember users might be searching for your issue in the future, so please give it a meaningful title to help others.
337337

338338
### Features

cmd/root.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ var RootCmd = &cobra.Command{
102102
// Execute adds all child commands to the root command sets flags appropriately.
103103
// This is called by main.main(). It only needs to happen once to the rootCmd.
104104
func Execute() {
105-
goflag.Set("logtostderr", "true")
106105
goflag.CommandLine.Parse([]string{})
107106

108107
if err := RootCmd.Execute(); err != nil {

0 commit comments

Comments
 (0)