commit | 8343dd09e648fb19172631344230b1bf83c61537 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Thu Aug 05 04:21:17 2021 +0800 |
committer | Luke Huang <huangluke@google.com> | Thu Aug 05 16:05:23 2021 +0800 |
tree | 909237733717e9d9a0a6821b261c2d3f12b4f07a | |
parent | 968b4674d5e0dcef99a263d21413b250ebc16e6e [diff] |
Add some logs and use bail! for DoH Test: atest Bug: 155855709 Change-Id: Ia1ed185a66b22f76648d56878cd6797b846560b9
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.