Skip to content

Commit

Permalink
Merge pull request kubernetes#32 from MalloZup/cli-infos
Browse files Browse the repository at this point in the history
Clearify that loglevel is expressed with integers
  • Loading branch information
k8s-ci-robot authored Dec 21, 2018
2 parents 4767aaa + 27fd765 commit 73cec49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion klog.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func InitFlags(flagset *flag.FlagSet) {
flagset.StringVar(&logging.logFile, "log_file", "", "If non-empty, use this log file")
flagset.BoolVar(&logging.toStderr, "logtostderr", false, "log to standard error instead of files")
flagset.BoolVar(&logging.alsoToStderr, "alsologtostderr", false, "log to standard error as well as files")
flagset.Var(&logging.verbosity, "v", "log level for V logs")
flagset.Var(&logging.verbosity, "v", "number for the log level verbosity")
flagset.BoolVar(&logging.skipHeaders, "skip_headers", false, "If true, avoid header prefixes in the log messages")
flagset.Var(&logging.stderrThreshold, "stderrthreshold", "logs at or above this threshold go to stderr")
flagset.Var(&logging.vmodule, "vmodule", "comma-separated list of pattern=N settings for file-filtered logging")
Expand Down

0 comments on commit 73cec49

Please sign in to comment.