usrsctp: Log EWOULDBLOCK at verbose instead of info level in transport
Benchmarks will spam a lot of annoying lines because of this.
Bug: webrtc:13288
Change-Id: I1321abafb91baefcaa626a561bee58ca3f321291
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/235371
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35225}
diff --git a/media/sctp/usrsctp_transport.cc b/media/sctp/usrsctp_transport.cc
index c7e3016..40ce840 100644
--- a/media/sctp/usrsctp_transport.cc
+++ b/media/sctp/usrsctp_transport.cc
@@ -788,8 +788,8 @@
if (send_res < 0) {
if (errno == SCTP_EWOULDBLOCK) {
ready_to_send_data_ = false;
- RTC_LOG(LS_INFO) << debug_name_
- << "->SendMessageInternal(...): EWOULDBLOCK returned";
+ RTC_LOG(LS_VERBOSE) << debug_name_
+ << "->SendMessageInternal(...): EWOULDBLOCK returned";
return SDR_BLOCK;
}