From 7f0a069550922031f740eb1a67b18cd06b579199 Mon Sep 17 00:00:00 2001 From: Harald Alvestrand Date: Wed, 2 May 2018 10:41:26 +0200 Subject: [PATCH] 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 Commit-Queue: Harald Alvestrand Cr-Commit-Position: refs/heads/master@{#23197} --- p2p/base/p2ptransportchannel.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/p2p/base/p2ptransportchannel.cc b/p2p/base/p2ptransportchannel.cc index 00f7388217..7aa305d6d3 100644 --- a/p2p/base/p2ptransportchannel.cc +++ b/p2p/base/p2ptransportchannel.cc @@ -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(); } }