commit | cb2bb7c6bc203fddffb746b574ce3013e7a52c60 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Nov 22 20:42:13 2019 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Dec 05 09:26:33 2019 +0000 |
tree | 295ebc6604ecf439e0074e65cbc4acc8636054a0 | |
parent | 302ae1fa228f90503d394d2afabe802df4717580 [diff] |
Update the connected field to metrics for DoT The "connected" field for DoT is supported now. It is beneficial to further tell the difference from sending a query via a new connection and sending a query via an existing connection. Bug: 144881031 Test: atest Test: Manually added some logs to check the result Change-Id: I3cc97660e8d5851af39d91f74d63babaa88179f8
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.