From 60ba70a099f4383204b321949c3b4b8105c50329 Mon Sep 17 00:00:00 2001 From: b5 Date: Thu, 6 Feb 2020 13:52:28 -0500 Subject: [PATCH] fix(cli): remove extraneous logging from `qri registry prove` also added a stderr success printout. logging is still accessible if lib's logging level is debug closes #1096 --- cmd/registry.go | 2 +- lib/registry.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/registry.go b/cmd/registry.go index 50a69e865..3cd8ac138 100644 --- a/cmd/registry.go +++ b/cmd/registry.go @@ -209,7 +209,7 @@ func (o *RegistryOptions) Prove() error { if err := o.RegistryClientMethods.ProveProfileKey(p, &ok); err != nil { return err } - + printSuccess(o.ErrOut, "proved user %s to registry, connected local key", o.Username) return nil } diff --git a/lib/registry.go b/lib/registry.go index 0679830e1..7eef8cbbc 100644 --- a/lib/registry.go +++ b/lib/registry.go @@ -59,7 +59,7 @@ func (m RegistryClientMethods) ProveProfileKey(p *RegistryProfile, ok *bool) err return err } - log.Errorf("prove profile response: %v", pro) + log.Debugf("prove profile response: %v", pro) *p = *pro return m.updateConfig(pro)