aboutsummaryrefslogtreecommitdiffstats
path: root/whisper
diff options
context:
space:
mode:
authorAdriĆ  Cidre <adria.cidre@gmail.com>2018-06-26 16:31:05 +0800
committerGuillaume Ballet <gballet@gmail.com>2018-06-26 16:31:05 +0800
commit461291882edce0ac4a28f64c4e8725b7f57cbeae (patch)
tree46d3237c3497554e368a3a1c4f3ef1f9d8e4b30c /whisper
parent1f0f6f0272c4c2f4b7b459835eff254f1f86784a (diff)
downloadgo-tangerine-461291882edce0ac4a28f64c4e8725b7f57cbeae.tar
go-tangerine-461291882edce0ac4a28f64c4e8725b7f57cbeae.tar.gz
go-tangerine-461291882edce0ac4a28f64c4e8725b7f57cbeae.tar.bz2
go-tangerine-461291882edce0ac4a28f64c4e8725b7f57cbeae.tar.lz
go-tangerine-461291882edce0ac4a28f64c4e8725b7f57cbeae.tar.xz
go-tangerine-461291882edce0ac4a28f64c4e8725b7f57cbeae.tar.zst
go-tangerine-461291882edce0ac4a28f64c4e8725b7f57cbeae.zip
whisper: Reduce message loop log from Warn to Info (#17055)
Diffstat (limited to 'whisper')
-rw-r--r--whisper/whisperv5/whisper.go2
-rw-r--r--whisper/whisperv6/whisper.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/whisper/whisperv5/whisper.go b/whisper/whisperv5/whisper.go
index 62bd1ce17..cec233cb0 100644
--- a/whisper/whisperv5/whisper.go
+++ b/whisper/whisperv5/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() {
diff --git a/whisper/whisperv6/whisper.go b/whisper/whisperv6/whisper.go
index 880cced09..3418c7bf7 100644
--- a/whisper/whisperv6/whisper.go
+++ b/whisper/whisperv6/whisper.go
@@ -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() {