commit | d6a2670152eb531ae0565ff645f9c061971c8315 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Fri Mar 03 09:25:05 2023 +0000 |
committer | Mike Yu <yumike@google.com> | Tue Mar 14 03:44:09 2023 +0000 |
tree | 50a42b8dd7f775d5f4088465995b443ec994b0f8 | |
parent | eae5d779c8a87a71d4f7176a1374a494cb3df75d [diff] |
Set correct DNS server to the stats If keep_listening_udp is enabled, the DnsResolver sets wrong DNS when it receives a DNS response from some previous DNS server. This bug exists only in the stats. Bug: 271406438 Bug: 271405311 Test: atest Change-Id: Ic17198159f920be0f3d4705b2965a5e2f64662fc
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.