go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

Renable pion logs for webrtc transport

Open sukunrt opened this issue 1 year ago • 0 comments
trafficstars

As the pion logs are too noisy, https://github.com/libp2p/go-libp2p/pull/2915 disables them.

We should reenable these logs after fixing the log level logs. In most cases these can simply be downgraded to debug, as these aren't error conditions. For example this log line

2024-08-06T15:09:24.337-0700    ERROR   webrtc-transport-pion   [email protected]/sctptransport.go:184 Failed to accept data channel: failed to send ChannelOpen ACK: stream closed

happens whenever there the webrtc connection is closed and concurrently remote creates a datachannel. This is not an error condition for the connection.

sukunrt avatar Aug 14 '24 17:08 sukunrt