Skip to content

Commit

Permalink
tools: add log file param for api bench (#7713)
Browse files Browse the repository at this point in the history
ref #7703

Signed-off-by: Cabinfever_B <[email protected]>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
CabinfeverB and ti-chi-bot[bot] authored Jan 16, 2024
1 parent 5e44d70 commit 3a12148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/pd-api-bench/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func NewConfig(flagSet *flag.FlagSet) *Config {
fs := cfg.flagSet
fs.StringVar(&cfg.configFile, "config", "", "config file")
fs.StringVar(&cfg.PDAddr, "pd", "http://127.0.0.1:2379", "pd address")
fs.StringVar(&cfg.Log.File.Filename, "log-file", "", "log file path")
fs.StringVar(&cfg.StatusAddr, "status", "127.0.0.1:10081", "status address")
fs.Int64Var(&cfg.Client, "client", 1, "client number")
fs.StringVar(&cfg.CaPath, "cacert", "", "path of file that contains list of trusted SSL CAs")
Expand Down

0 comments on commit 3a12148

Please sign in to comment.