Remove some more instances of IP logging.

Bug: b/152662380
Change-Id: I1f33f470c4dd5458c2d2598e2f17f6691f72df4a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/172446
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Paulina Hensman <phensman@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30957}
This commit is contained in:
Paulina Hensman
2020-03-31 16:16:11 +02:00
committed by Commit Bot
parent 3e9af7fe05
commit b239a2e357
2 changed files with 3 additions and 6 deletions

View File

@ -198,12 +198,10 @@ int PhysicalSocket::Bind(const SocketAddress& bind_addr) {
if (bind_addr.IsLoopbackIP()) { if (bind_addr.IsLoopbackIP()) {
// If we couldn't bind to a loopback IP (which should only happen in // If we couldn't bind to a loopback IP (which should only happen in
// test scenarios), continue on. This may be expected behavior. // test scenarios), continue on. This may be expected behavior.
RTC_LOG(LS_VERBOSE) << "Binding socket to loopback address " RTC_LOG(LS_VERBOSE) << "Binding socket to loopback address"
<< bind_addr.ipaddr().ToString()
<< " failed; result: " << static_cast<int>(result); << " failed; result: " << static_cast<int>(result);
} else { } else {
RTC_LOG(LS_WARNING) << "Binding socket to network address " RTC_LOG(LS_WARNING) << "Binding socket to network address"
<< bind_addr.ipaddr().ToString()
<< " failed; result: " << static_cast<int>(result); << " failed; result: " << static_cast<int>(result);
// If a network binding was attempted and failed, we should stop here // If a network binding was attempted and failed, we should stop here
// and not try to use the socket. Otherwise, we may end up sending // and not try to use the socket. Otherwise, we may end up sending

View File

@ -357,8 +357,7 @@ void AndroidNetworkMonitor::OnNetworkConnected_w(
absl::optional<NetworkHandle> absl::optional<NetworkHandle>
AndroidNetworkMonitor::FindNetworkHandleFromAddress( AndroidNetworkMonitor::FindNetworkHandleFromAddress(
const rtc::IPAddress& ip_address) const { const rtc::IPAddress& ip_address) const {
RTC_LOG(LS_INFO) << "Find network handle for address: " RTC_LOG(LS_INFO) << "Find network handle.";
<< ip_address.ToString();
if (find_network_handle_without_ipv6_temporary_part_) { if (find_network_handle_without_ipv6_temporary_part_) {
for (auto const& iter : network_info_by_handle_) { for (auto const& iter : network_info_by_handle_) {
const std::vector<rtc::IPAddress>& addresses = iter.second.ip_addresses; const std::vector<rtc::IPAddress>& addresses = iter.second.ip_addresses;