diff --git a/cmd/ipfs/main.go b/cmd/ipfs/main.go index 9b90e49c8..ea600c3ca 100644 --- a/cmd/ipfs/main.go +++ b/cmd/ipfs/main.go @@ -276,7 +276,7 @@ func callCommand(ctx context.Context, req cmds.Request, root *cmds.Command, cmd return nil, err } - log.Info("looking for running daemon...") + log.Debug("looking for running daemon...") useDaemon, err := commandShouldRunOnDaemon(*details, req, root) if err != nil { return nil, err @@ -320,7 +320,7 @@ func callCommand(ctx context.Context, req cmds.Request, root *cmds.Command, cmd } } else { - log.Info("Executing command locally") + log.Debug("Executing command locally") // Okay!!!!! NOW we can call the command. res = root.Call(req) diff --git a/exchange/bitswap/decision/engine.go b/exchange/bitswap/decision/engine.go index e0f733929..e4e16e3da 100644 --- a/exchange/bitswap/decision/engine.go +++ b/exchange/bitswap/decision/engine.go @@ -165,7 +165,7 @@ func (e *Engine) MessageReceived(p peer.ID, m bsmsg.BitSwapMessage) error { defer e.lock.Unlock() if len(m.Wantlist()) == 0 && len(m.Blocks()) == 0 { - log.Info("superfluous message") + log.Debug("received empty message from", p) } newWorkExists := false diff --git a/p2p/nat/nat.go b/p2p/nat/nat.go index 48ef0b7ce..4ef9802c1 100644 --- a/p2p/nat/nat.go +++ b/p2p/nat/nat.go @@ -320,7 +320,7 @@ func (nat *NAT) establishMapping(m *mapping) { failure := func() { m.setExternalPort(0) // clear mapping // TODO: log.Event - log.Infof("failed to establish port mapping: %s", err) + log.Debugf("failed to establish port mapping: %s", err) nat.Notifier.notifyAll(func(n Notifiee) { n.MappingFailed(nat, m, oldport, err) }) @@ -344,7 +344,7 @@ func (nat *NAT) establishMapping(m *mapping) { log.Debugf("NAT Mapping: %s --> %s", m.InternalAddr(), ext) if oldport != 0 && newport != oldport { - log.Infof("failed to renew same port mapping: ch %d -> %d", oldport, newport) + log.Debugf("failed to renew same port mapping: ch %d -> %d", oldport, newport) nat.Notifier.notifyAll(func(n Notifiee) { n.MappingChanged(nat, m, oldport, newport) }) diff --git a/p2p/protocol/mux.go b/p2p/protocol/mux.go index 0e93325bb..078952d39 100644 --- a/p2p/protocol/mux.go +++ b/p2p/protocol/mux.go @@ -110,7 +110,7 @@ func (m *Mux) HandleSync(s inet.Stream) { return } - log.Infof("muxer handle protocol %s: %s", s.Conn().RemotePeer(), name) + log.Debugf("muxer handle protocol %s: %s", s.Conn().RemotePeer(), name) handler(s) }