commit | 4499ee36eea0bdc498ff669ae2ecd706d5702ce2 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Nov 24 20:05:18 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Fri Nov 27 21:12:07 2020 +0800 |
tree | 75ed587d70fe856f88237c9a03b2795634f4ca07 | |
parent | f7717f5a4f5200b0c413bbecb6fbf69df9bccdfc [diff] |
Extend DnsTlsServer to return IP string No functionality change. Bug: 79727473 Test: cd packages/modules/DnsResolver && atest Change-Id: I7adca3f240197fe59f683abefaa0005af0fbc141
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.