commit | 0c8e452d3cd4be5255aa21c51047835306d2c5e3 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Mon Aug 24 14:41:32 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Wed Sep 23 17:04:45 2020 +0800 |
tree | 18bdd07b8d858a1408243a730eeac0c7d509a240 | |
parent | f6b640931965e1a2e635cac385a060b9970fc38e [diff] |
Add some states to trace DnsTlsSocket life cycle The state diagram of DnsTlsSocket is simple and doesn't have circular states. Bug: 149445907 Test: cd packages/modules/DnsResolver && atest Change-Id: I5088d3c6e3c9d3c148cfce4ffa97218bab7e0e78
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.