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/dcat/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmd/dcat') diff --git a/cmd/dcat/main.go b/cmd/dcat/main.go index c59a242..238f97a 100644 --- a/cmd/dcat/main.go +++ b/cmd/dcat/main.go @@ -49,7 +49,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.NewCatClient(args) if err != nil { -- cgit v1.2.3