Skip to content

Commit

Permalink
fix: reduce log spam (libp2p#394)
Browse files Browse the repository at this point in the history
This message will be received on reconnect and/or when we receive multiple
connections. It apparently shows up in logs quite frequently.
  • Loading branch information
Stebalien authored Dec 10, 2020
1 parent aa4f9da commit 98f8611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ func (p *PubSub) processLoop(ctx context.Context) {
select {
case pid := <-p.newPeers:
if _, ok := p.peers[pid]; ok {
log.Warn("already have connection to peer: ", pid)
log.Debug("already have connection to peer: ", pid)
continue
}

Expand Down

0 comments on commit 98f8611

Please sign in to comment.