commit | bcb4d75907452d3d43268a4612bcdbeeacbc4c97 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed Oct 21 18:24:29 2020 +0800 |
committer | Luke Huang <huangluke@google.com> | Thu Oct 22 11:41:57 2020 +0800 |
tree | 487f741407fd6431b55d201ea6e94165a86ff36e | |
parent | 3b4e659aeed9132cd5465986f20a6748d9d116d2 [diff] |
Enable DnsResolver log in userdebug build To debug flaky test, set DnsResolver default log level to debug in usesrdebug build. Test: atest Bug: 170539625 Change-Id: I5080deaddb962c0a9f94332627cfb3973bfaf1f5
This code uses LOG(X) for logging. Log levels are VERBOSE,DEBUG,INFO,WARNING and ERROR. The default setting is WARNING and logs relate to WARNING and ERROR will be shown. If you want to enable the DEBUG level logs, using following command. adb shell service call dnsresolver 10 i32 1 VERBOSE 0 DEBUG 1 INFO 2 WARNING 3 ERROR 4 Verbose resolver logs could contain PII -- do NOT enable in production builds.