summaryrefslogtreecommitdiff
path: root/cmd/dcat
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2020-12-29 17:17:12 +0000
committerPaul Buetow <pbuetow@mimecast.com>2020-12-29 17:17:12 +0000
commit7db0182e0a3c7401a4e49b0ae917070e81994046 (patch)
tree38d7e88d4865e344aa099a405f7cbe100153641b /cmd/dcat
parent6d5c9034325195b689326cd7085a739582c9345d (diff)
Quiet mode also affects client side logging
Diffstat (limited to 'cmd/dcat')
-rw-r--r--cmd/dcat/main.go5
1 files changed, 4 insertions, 1 deletions
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 {