From 7db0182e0a3c7401a4e49b0ae917070e81994046 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 29 Dec 2020 17:17:12 +0000 Subject: Quiet mode also affects client side logging --- cmd/dmap/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmd/dmap') diff --git a/cmd/dmap/main.go b/cmd/dmap/main.go index a954e45..1a05549 100644 --- a/cmd/dmap/main.go +++ b/cmd/dmap/main.go @@ -56,7 +56,10 @@ func main() { } ctx := context.TODO() - logger.Start(ctx, logger.Modes{Debug: debugEnable || config.Common.DebugEnable}) + logger.Start(ctx, logger.Modes{ + Debug: debugEnable || config.Common.DebugEnable, + Quiet: args.Quiet, + }) client, err := clients.NewMaprClient(args, queryStr, clients.DefaultMode) if err != nil { -- cgit v1.2.3