summaryrefslogtreecommitdiffstats
path: root/minadbd
diff options
context:
space:
mode:
authorYabin Cui <yabinc@google.com>2015-09-24 01:03:11 +0200
committerYabin Cui <yabinc@google.com>2015-09-24 01:04:41 +0200
commit7c913e5faa1f3aa226c8de61cdc24e9be26ac422 (patch)
treec426450bac961d8148894310e4df8ef74f1e4290 /minadbd
parentMerge "recovery: Add timestamps in update logs." (diff)
downloadandroid_bootable_recovery-7c913e5faa1f3aa226c8de61cdc24e9be26ac422.tar
android_bootable_recovery-7c913e5faa1f3aa226c8de61cdc24e9be26ac422.tar.gz
android_bootable_recovery-7c913e5faa1f3aa226c8de61cdc24e9be26ac422.tar.bz2
android_bootable_recovery-7c913e5faa1f3aa226c8de61cdc24e9be26ac422.tar.lz
android_bootable_recovery-7c913e5faa1f3aa226c8de61cdc24e9be26ac422.tar.xz
android_bootable_recovery-7c913e5faa1f3aa226c8de61cdc24e9be26ac422.tar.zst
android_bootable_recovery-7c913e5faa1f3aa226c8de61cdc24e9be26ac422.zip
Diffstat (limited to '')
-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];
}