commit | 0f13e595f4d646491fe75aeb9d5867f3a1d1d3cf | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Nov 09 20:56:46 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Nov 11 21:21:06 2021 +0800 |
tree | 3bf2509e3b3654399927525b5b7816934bac0179 | |
parent | e34efd08c6c06943e2107507e9fc545e5488e1b4 [diff] |
Add more debugging logs for DoH Bug: 203314532 Test: built dnsresolver Change-Id: I7232eb15ff4a02976fcbfeba676906638e9f7a4f
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.