commit | 157918340099d6de0c9c063e0bee6b8036143490 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Feb 11 13:38:48 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Feb 20 17:30:23 2020 +0800 |
tree | e8850197a7c07758e63aeb40de63c4679178ebee | |
parent | 3b17b0a18b733f90b32869ede8349224586dedb3 [diff] |
Add a test to ensure long-run lookups use latest setup params This test is expected to ensure the future changes related to the legacy stats won't break the current design. Bug: 137169582 Test: cd packages/modules/DnsResolver && atest Change-Id: I9217b48439e397e81943398e4dc72332868d6c45
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.