Skip to content

Commit 94af77d

Browse files
authored
Merge pull request #46 from libp2p/fix/log-spam
downgrade Error log to Warning
2 parents 917defb + 3e17918 commit 94af77d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

multiplex.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ func (mp *Multiplex) handleIncoming() {
381381
// closed stream, return b
382382
pool.Put(b)
383383

384-
log.Errorf("Received data from remote after stream was closed by them. (len = %d)", len(b))
384+
log.Warningf("Received data from remote after stream was closed by them. (len = %d)", len(b))
385385
go mp.sendMsg(context.Background(), msch.id.header(resetTag), nil)
386386
continue
387387
}

0 commit comments

Comments
 (0)