diff --git a/rtc_base/physical_socket_server.cc b/rtc_base/physical_socket_server.cc index 08947e16e4..0cbcb8130c 100644 --- a/rtc_base/physical_socket_server.cc +++ b/rtc_base/physical_socket_server.cc @@ -198,12 +198,10 @@ int PhysicalSocket::Bind(const SocketAddress& bind_addr) { if (bind_addr.IsLoopbackIP()) { // If we couldn't bind to a loopback IP (which should only happen in // test scenarios), continue on. This may be expected behavior. - RTC_LOG(LS_VERBOSE) << "Binding socket to loopback address " - << bind_addr.ipaddr().ToString() + RTC_LOG(LS_VERBOSE) << "Binding socket to loopback address" << " failed; result: " << static_cast(result); } else { - RTC_LOG(LS_WARNING) << "Binding socket to network address " - << bind_addr.ipaddr().ToString() + RTC_LOG(LS_WARNING) << "Binding socket to network address" << " failed; result: " << static_cast(result); // 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 diff --git a/sdk/android/src/jni/android_network_monitor.cc b/sdk/android/src/jni/android_network_monitor.cc index 12528433e8..5c9cf54b33 100644 --- a/sdk/android/src/jni/android_network_monitor.cc +++ b/sdk/android/src/jni/android_network_monitor.cc @@ -357,8 +357,7 @@ void AndroidNetworkMonitor::OnNetworkConnected_w( absl::optional AndroidNetworkMonitor::FindNetworkHandleFromAddress( const rtc::IPAddress& ip_address) const { - RTC_LOG(LS_INFO) << "Find network handle for address: " - << ip_address.ToString(); + RTC_LOG(LS_INFO) << "Find network handle."; if (find_network_handle_without_ipv6_temporary_part_) { for (auto const& iter : network_info_by_handle_) { const std::vector& addresses = iter.second.ip_addresses;