summaryrefslogtreecommitdiff
path: root/adbconnection/adbconnection.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2018-02-02 13:56:14 -0800
committer Alex Light <allight@google.com> 2018-02-02 13:56:14 -0800
commita17cc2e1685dfc733b0ec6d175ab5b74154445ab (patch)
tree808309e48ed8a3e7eebb8baa71143f0f77f12f17 /adbconnection/adbconnection.cc
parent92d0c8b68c24a2fa21f95d63a1ff2fb00fdb9aaf (diff)
Lower several adbconnection log messages to VLOG(jdwp)
We lower some adbconnection log messages to prevent log-spam on userdebug and eng devices. These messages are not terribly important and are sent for every java process on userdebug devices. Test: Build Change-Id: I66b50aa9014211b435dd43171c0a3316eef50755
Diffstat (limited to 'adbconnection/adbconnection.cc')
-rw-r--r--adbconnection/adbconnection.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/adbconnection/adbconnection.cc b/adbconnection/adbconnection.cc
index d8db923a28..bdcdcbe23f 100644
--- a/adbconnection/adbconnection.cc
+++ b/adbconnection/adbconnection.cc
@@ -312,12 +312,12 @@ void AdbConnectionState::SendDdmPacket(uint32_t id,
// Get the write_event early to fail fast.
ScopedEventFdLock lk(adb_write_event_fd_);
if (adb_connection_socket_ == -1) {
- LOG(WARNING) << "Not sending ddms data of type "
- << StringPrintf("%c%c%c%c",
- static_cast<char>(type >> 24),
- static_cast<char>(type >> 16),
- static_cast<char>(type >> 8),
- static_cast<char>(type)) << " due to no connection!";
+ VLOG(jdwp) << "Not sending ddms data of type "
+ << StringPrintf("%c%c%c%c",
+ static_cast<char>(type >> 24),
+ static_cast<char>(type >> 16),
+ static_cast<char>(type >> 8),
+ static_cast<char>(type)) << " due to no connection!";
// Adb is not connected.
return;
}
@@ -523,7 +523,7 @@ bool AdbConnectionState::SetupAdbConnection() {
/* now try to send our pid to the ADB daemon */
ret = TEMP_FAILURE_RETRY(send(sock, buff, sizeof(pid_t), 0));
if (ret == sizeof(pid_t)) {
- LOG(INFO) << "PID " << getpid() << " send to adb";
+ VLOG(jdwp) << "PID " << getpid() << " send to adb";
control_sock_ = std::move(sock);
return true;
} else {