whisper: Reduce message loop log from Warn to Info (#17055)

pull/17075/merge
Adrià Cidre 7 years ago committed by Guillaume Ballet
parent 1f0f6f0272
commit 461291882e
  1. 2
      whisper/whisperv5/whisper.go
  2. 2
      whisper/whisperv6/whisper.go

@ -499,7 +499,7 @@ func (w *Whisper) runMessageLoop(p *Peer, rw p2p.MsgReadWriter) error {
// fetch the next packet
packet, err := rw.ReadMsg()
if err != nil {
log.Warn("message loop", "peer", p.peer.ID(), "err", err)
log.Info("message loop", "peer", p.peer.ID(), "err", err)
return err
}
if packet.Size > w.MaxMessageSize() {

@ -650,7 +650,7 @@ func (whisper *Whisper) runMessageLoop(p *Peer, rw p2p.MsgReadWriter) error {
// fetch the next packet
packet, err := rw.ReadMsg()
if err != nil {
log.Warn("message loop", "peer", p.peer.ID(), "err", err)
log.Info("message loop", "peer", p.peer.ID(), "err", err)
return err
}
if packet.Size > whisper.MaxMessageSize() {

Loading…
Cancel
Save