Skip to content

Commit

Permalink
log: revert a log back to trace level (#1527)
Browse files Browse the repository at this point in the history
warning level will make the log spam over the screen.
  • Loading branch information
brilliant-lx authored Apr 25, 2023
1 parent 779f4a8 commit bc72d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ func (p *Peer) startProtocols(writeStart <-chan struct{}, writeErr chan<- error)
p.log.Trace(fmt.Sprintf("Protocol %s/%d returned", proto.Name, proto.Version))
err = errProtocolReturned
} else if !errors.Is(err, io.EOF) {
p.log.Warn(fmt.Sprintf("Protocol %s/%d failed", proto.Name, proto.Version), "err", err)
p.log.Trace(fmt.Sprintf("Protocol %s/%d failed", proto.Name, proto.Version), "err", err)
}
p.protoErr <- err
}()
Expand Down

0 comments on commit bc72d5e

Please sign in to comment.