summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-09-24 01:05:32 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-09-24 01:05:32 +0200
commit3317d5017963684cdbf4573d6cc6c0ff4cee0869 (patch)
treec426450bac961d8148894310e4df8ef74f1e4290
parentMerge "recovery: Add timestamps in update logs." (diff)
parentminadbd: move from D() to VLOG(). (diff)
downloadandroid_bootable_recovery-3317d5017963684cdbf4573d6cc6c0ff4cee0869.tar
android_bootable_recovery-3317d5017963684cdbf4573d6cc6c0ff4cee0869.tar.gz
android_bootable_recovery-3317d5017963684cdbf4573d6cc6c0ff4cee0869.tar.bz2
android_bootable_recovery-3317d5017963684cdbf4573d6cc6c0ff4cee0869.tar.lz
android_bootable_recovery-3317d5017963684cdbf4573d6cc6c0ff4cee0869.tar.xz
android_bootable_recovery-3317d5017963684cdbf4573d6cc6c0ff4cee0869.tar.zst
android_bootable_recovery-3317d5017963684cdbf4573d6cc6c0ff4cee0869.zip
-rw-r--r--minadbd/adb_main.cpp4
-rw-r--r--minadbd/services.cpp3
2 files changed, 2 insertions, 5 deletions
diff --git a/minadbd/adb_main.cpp b/minadbd/adb_main.cpp
index 514f19699..c968204b2 100644
--- a/minadbd/adb_main.cpp
+++ b/minadbd/adb_main.cpp
@@ -19,8 +19,6 @@
#include <stdio.h>
#include <stdlib.h>
-#define TRACE_TAG TRACE_ADB
-
#include "sysdeps.h"
#include "adb.h"
@@ -38,7 +36,7 @@ int adb_main(int is_daemon, int server_port, int /* reply_fd */) {
init_transport_registration();
usb_init();
- D("Event loop starting\n");
+ VLOG(ADB) << "Event loop starting";
fdevent_loop();
return 0;
diff --git a/minadbd/services.cpp b/minadbd/services.cpp
index 5c1d35614..2a3027bd8 100644
--- a/minadbd/services.cpp
+++ b/minadbd/services.cpp
@@ -23,7 +23,6 @@
#include "sysdeps.h"
-#define TRACE_TAG TRACE_SERVICES
#include "adb.h"
#include "fdevent.h"
#include "fuse_adb_provider.h"
@@ -82,7 +81,7 @@ static int create_service_thread(void (*func)(int, void *), void *cookie) {
return -1;
}
- D("service thread started, %d:%d\n",s[0], s[1]);
+ VLOG(SERVICES) << "service thread started, " << s[0] << ":" << s[1];
return s[0];
}