commit | da85713f70ac96b8cf66440e883bfe11080f1d4e | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Feb 06 15:49:26 2018 -0800 |
committer | Josh Gao <jmgao@google.com> | Tue Feb 06 15:55:06 2018 -0800 |
tree | 6f9b0f3de89a9a03397aeb427dfb927517b7bbd1 | |
parent | 395b86a8a087416969f76b62915cccab2e5b5f7d [diff] |
adb: don't spew to logcat when tracing is enabled. When persist.adb.trace_mask is used to enable verbose logging, avoid exponential logging when a user runs `adb logcat`. As a side-effect, set the minimum logging level to include everything when ADB_TRACE is used on the client (which is something we want anyway). Bug: http://b/72971016 Test: `adb shell 'setprop persist.adb.trace_mask; killall adbd'; adb logcat` Change-Id: Id4bca1f3933a920345499dbeaeb103c8a2e220cd