Message received is a debug message, not a warning

This commit is contained in:
Daniel A. Nagy 2015-02-13 11:57:32 +01:00
parent 65b7c3101e
commit 796b0bf0b6

View file

@ -300,7 +300,7 @@ func (p *Peer) dispatch(msg Msg, protoDone chan struct{}) (wait bool, err error)
// of it and move on to the next message
buf, err := ioutil.ReadAll(msg.Payload)
if len(buf) > 0 {
p.Warnf("Received message %x", buf)
p.Debugf("Received message %x", buf)
}
if err != nil {
return false, err