diff options
author | Mike Lockwood <lockwood@android.com> | 2009-05-25 18:17:55 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2009-05-25 18:17:55 -0400 |
commit | 1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945 (patch) | |
tree | 209175263e021386a66aaeda9a6dfb33456f0eec /adb/adb.h | |
parent | 6a3075c78287ea5a7ee7a3c85cde58e894350822 (diff) | |
download | system_core-1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945.zip system_core-1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945.tar.gz system_core-1f546e6d1f6ccd1964336ddf0d8e8b3b11b1e945.tar.bz2 |
adb: Allow enabling of device side adbd logging with a persistent system property.
To enable logging, set the property persist.adb.trace_mask to a hex value
containing the bitmask for adb_trace_mask (see the TRACE_* enum values in adb.h).
This will result in adb writing log output to a file in /data/adb/
No logging will occur if persist.adb.trace_mask is not set or has a value
that cannot be parsed as a hex integer.
The property is read once only at startup, so you must reboot or restart adbd
for changes in the property to take effect.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'adb/adb.h')
-rw-r--r-- | adb/adb.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -345,11 +345,6 @@ typedef enum { #endif -/* set this to log to /data/adb/adb_<time>.txt on the device. - * has no effect if the /data/adb/ directory does not exist. - */ -#define ADB_DEVICE_LOG 0 - #if !TRACE_PACKETS #define print_packet(tag,p) do {} while (0) #endif |