commit | 7b2978e7c176caa44c51c027421433eed2ee6a24 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Wed Oct 21 18:24:29 2020 +0800 |
committer | Luke Huang <huangluke@google.com> | Wed Dec 16 14:01:02 2020 +0800 |
tree | fa7255df913d46bb7eeb3ad953137c2f0aa30d93 | |
parent | d47d81258950b87cde45629ef19d165c541c3949 [diff] |
Enable DnsResolver log in userdebug build To debug flaky test, set DnsResolver default log level to debug in usesrdebug build. Test: atest Bug: 174783023 Change-Id: I6ee298d2951cb3df9d0ae24aee61caba0c20119c
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.