summaryrefslogtreecommitdiff
path: root/cmd/dgrep
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2021-10-10 14:02:12 +0300
committerPaul Buetow <paul@buetow.org>2021-10-10 14:15:26 +0300
commitf44792c9102488774c9993b080f35c65287a64b1 (patch)
tree94b0be371a2135f4fea63bca87e14ce057fc172e /cmd/dgrep
parent97747ea0f3178f7f5890512d483fdccaa82846b0 (diff)
add another dmap test - reading 100 source files at once
fix a data race when reading multiple files on one server from the same session at once
Diffstat (limited to 'cmd/dgrep')
-rw-r--r--cmd/dgrep/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dgrep/main.go b/cmd/dgrep/main.go
index 576e22b..da3f7a4 100644
--- a/cmd/dgrep/main.go
+++ b/cmd/dgrep/main.go
@@ -35,7 +35,7 @@ func main() {
flag.StringVar(&args.Discovery, "discovery", "", "Server discovery method")
flag.StringVar(&args.LogDir, "logDir", "~/log", "Log dir")
flag.StringVar(&args.Logger, "logger", config.DefaultClientLogger, "Logger name")
- flag.StringVar(&args.LogLevel, "logLevel", "", "Log level")
+ flag.StringVar(&args.LogLevel, "logLevel", config.DefaultLogLevel, "Log level")
flag.StringVar(&args.PrivateKeyPathFile, "key", "", "Path to private key")
flag.StringVar(&args.RegexStr, "regex", ".", "Regular expression")
flag.StringVar(&args.ServersStr, "servers", "", "Remote servers to connect")