aboutsummaryrefslogtreecommitdiff
path: root/cast/sender
diff options
context:
space:
mode:
authorAbraham Corea Diaz <abrahamcd@google.com>2021-07-02 00:11:05 +0000
committerOpenscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com>2021-07-02 17:01:55 +0000
commitcf428dff2a51418bff4c5b54ecac0f71294db18d (patch)
tree4065798866bf0bfd297435fa5e97cdd314596486 /cast/sender
parent2e2730fe0190f72dadd631176d2f380b4a6186a8 (diff)
downloadopenscreen-cf428dff2a51418bff4c5b54ecac0f71294db18d.tar.gz
Remove DVLOG debug logging throughout LibCast
This patch removes instances of OSP_DVLOG in LibCast or changes them to OSP_VLOG as needed. Bug: b/159172782 Change-Id: I2fab57cece82af0dc67ad9a596404d563e7707cd Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/3001340 Commit-Queue: Jordan Bayles <jophba@chromium.org> Reviewed-by: Jordan Bayles <jophba@chromium.org>
Diffstat (limited to 'cast/sender')
-rw-r--r--cast/sender/cast_app_discovery_service_impl.cc3
-rw-r--r--cast/sender/cast_platform_client.cc3
-rw-r--r--cast/sender/channel/sender_socket_factory.cc2
3 files changed, 1 insertions, 7 deletions
diff --git a/cast/sender/cast_app_discovery_service_impl.cc b/cast/sender/cast_app_discovery_service_impl.cc
index cdf46bf2..822410c1 100644
--- a/cast/sender/cast_app_discovery_service_impl.cc
+++ b/cast/sender/cast_app_discovery_service_impl.cc
@@ -119,9 +119,6 @@ void CastAppDiscoveryServiceImpl::UpdateAppAvailability(
return;
}
- OSP_DVLOG << "App " << app_id << " on receiver " << device_id << " is "
- << ToString(availability);
-
UpdateAvailabilityQueries(availability_tracker_.UpdateAppAvailability(
device_id, app_id, {availability, clock_()}));
}
diff --git a/cast/sender/cast_platform_client.cc b/cast/sender/cast_platform_client.cc
index d3f39cfb..fda03b9a 100644
--- a/cast/sender/cast_platform_client.cc
+++ b/cast/sender/cast_platform_client.cc
@@ -128,7 +128,6 @@ void CastPlatformClient::OnMessage(VirtualConnectionRouter* router,
}
ErrorOr<Json::Value> dict_or_error = json::Parse(message.payload_utf8());
if (dict_or_error.is_error()) {
- OSP_DVLOG << "Failed to deserialize CastMessage payload.";
return;
}
@@ -178,7 +177,7 @@ void CastPlatformClient::HandleResponse(const std::string& device_id,
} else if (result.value() == kMessageValueAppUnavailable) {
availability_result = AppAvailabilityResult::kUnavailable;
} else {
- OSP_DVLOG << "Invalid availability result: " << result.value();
+ OSP_VLOG << "Invalid availability result: " << result.value();
}
it->callback(it->app_id, availability_result);
}
diff --git a/cast/sender/channel/sender_socket_factory.cc b/cast/sender/channel/sender_socket_factory.cc
index e971976b..abbabfd6 100644
--- a/cast/sender/channel/sender_socket_factory.cc
+++ b/cast/sender/channel/sender_socket_factory.cc
@@ -106,8 +106,6 @@ void SenderSocketFactory::OnConnectionFailed(TlsConnectionFactory* factory,
const IPEndpoint& remote_address) {
auto it = FindPendingConnection(remote_address);
if (it == pending_connections_.end()) {
- OSP_DVLOG << "OnConnectionFailed reported for untracked address: "
- << remote_address;
return;
}
pending_connections_.erase(it);