diff --git a/client.go b/client.go index 38a7b84..96b6ea4 100644 --- a/client.go +++ b/client.go @@ -63,9 +63,9 @@ func NewClient(me Addr, identity, endpoint string) (*Client, error) { return nil, fmt.Errorf("unable to find your user addressn in %s", identity) } - log.Infof("Using identity %s with public key %s", identity, key) - log.Infof("Salty Addr is %s", me) - log.Infof("Endpoint is %s", endpoint) + log.Debugf("Using identity %s with public key %s", identity, key) + log.Debugf("Salty Addr is %s", me) + log.Debugf("Endpoint is %s", endpoint) return &Client{ key: key, @@ -139,7 +139,7 @@ func (cli *Client) Read(ctx context.Context, endpoint, prehook, posthook string) s := bus.Subscribe(inbox, cli.handleMessage(prehook, posthook, msgs)) s.Start() - log.Infof("Connected to %s/%s", uri, inbox) + log.Debugf("Connected to %s/%s", uri, inbox) go func() { <-ctx.Done()