Reduce log level for socket.SetOptions() to LS_INFO

Bug: webrtc:9221
Change-Id: I7bbbece754afa4e02ab000ee33e2b09ead5647a1
Reviewed-on: https://webrtc-review.googlesource.com/73686
Reviewed-by: Benjamin Wright <benwright@webrtc.org>
Commit-Queue: Harald Alvestrand <hta@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23197}
This commit is contained in:
Harald Alvestrand 2018-05-02 10:41:26 +02:00 committed by Commit Bot
parent b4e0e50a2b
commit 7f0a069550

View File

@ -711,9 +711,10 @@ void P2PTransportChannel::OnPortReady(PortAllocatorSession *session,
++it) {
int val = port->SetOption(it->first, it->second);
if (val < 0) {
RTC_LOG(LS_WARNING) << port->ToString() << ": SetOption("
<< it->first << ", " << it->second
<< ") failed: " << port->GetError();
// Errors are frequent, so use LS_INFO. bugs.webrtc.org/9221
RTC_LOG(LS_INFO) << port->ToString() << ": SetOption(" << it->first
<< ", " << it->second
<< ") failed: " << port->GetError();
}
}