summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-09-24 01:11:11 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-24 01:11:11 +0200
commitf7319f4dbd04f72a53f5ad313794ade240530406 (patch)
tree346b8142e440a212d6c398d404ac3742f1d715c4
parentam b739a32b: Merge "recovery: Add timestamps in update logs." (diff)
parentMerge "minadbd: move from D() to VLOG()." (diff)
downloadandroid_bootable_recovery-f7319f4dbd04f72a53f5ad313794ade240530406.tar
android_bootable_recovery-f7319f4dbd04f72a53f5ad313794ade240530406.tar.gz
android_bootable_recovery-f7319f4dbd04f72a53f5ad313794ade240530406.tar.bz2
android_bootable_recovery-f7319f4dbd04f72a53f5ad313794ade240530406.tar.lz
android_bootable_recovery-f7319f4dbd04f72a53f5ad313794ade240530406.tar.xz
android_bootable_recovery-f7319f4dbd04f72a53f5ad313794ade240530406.tar.zst
android_bootable_recovery-f7319f4dbd04f72a53f5ad313794ade240530406.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];
}