diff --git a/libp2p/muxers/mplex/mplex.nim b/libp2p/muxers/mplex/mplex.nim index 79756b1..6f147aa 100644 --- a/libp2p/muxers/mplex/mplex.nim +++ b/libp2p/muxers/mplex/mplex.nim @@ -187,7 +187,7 @@ method handle*(m: Mplex) {.async, gcsafe.} = except LPStreamEOFError as exc: trace "Stream EOF", m, msg = exc.msg except CatchableError as exc: - warn "Unexpected exception in mplex read loop", m, msg = exc.msg + debug "Unexpected exception in mplex read loop", m, msg = exc.msg finally: await m.close() trace "Stopped mplex handler", m diff --git a/libp2p/protocols/secure/secure.nim b/libp2p/protocols/secure/secure.nim index c85e560..0fe40eb 100644 --- a/libp2p/protocols/secure/secure.nim +++ b/libp2p/protocols/secure/secure.nim @@ -133,7 +133,7 @@ method readOnce*(s: SecureConn, if not isNil(err): if not (err of LPStreamEOFError): - warn "Error while reading message from secure connection, closing.", + debug "Error while reading message from secure connection, closing.", error=err.name, message=err.msg, connection=s