diff --git a/cpp/core/internal/bluetooth_device_name.cc b/cpp/core/internal/bluetooth_device_name.cc index f968aff2..49e7838f 100644 --- a/cpp/core/internal/bluetooth_device_name.cc +++ b/cpp/core/internal/bluetooth_device_name.cc @@ -62,12 +62,7 @@ BluetoothDeviceName::BluetoothDeviceName( absl::string_view bluetooth_device_name_string) { ByteArray bluetooth_device_name_bytes = Base64Utils::Decode(bluetooth_device_name_string); - if (bluetooth_device_name_bytes.Empty()) { - NEARBY_LOG( - INFO, - "Cannot deserialize BluetoothDeviceName: failed Base64 decoding of %s", - std::string(bluetooth_device_name_string).c_str()); return; } diff --git a/cpp/platform/public/ble.cc b/cpp/platform/public/ble.cc index 41ce8d3f..cb277a29 100644 --- a/cpp/platform/public/ble.cc +++ b/cpp/platform/public/ble.cc @@ -53,9 +53,6 @@ bool BleMedium::StartScanning( auto& context = *pair.first->second; if (pair.second) { context.peripheral = BlePeripheral(&peripheral); - NEARBY_LOG(INFO, - "Discovered peripheral '%s'", - peripheral.GetName().c_str()); discovered_peripheral_callback_.peripheral_discovered_cb( context.peripheral, service_id, context.peripheral.GetAdvertisementBytes(service_id),