commit | 06864ab63bc932fa5dbef0ee89e7ac0e930d203c | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Thu Apr 21 21:34:51 2022 +0800 |
committer | Ken Chen <cken@google.com> | Mon Apr 25 11:22:57 2022 +0800 |
tree | 1bdcafe1e2bc69eefb16cdd2b0fb4f9486ce2710 | |
parent | 0bbc4ee2208c95fd71adcbd68d4299bdf0f74811 [diff] |
Add experiment flag for DNS query global limiter Make the maximum number of global queries adjustable via flag. The default value is not changed in this commit. Bug: 172484780 Bug: 169105756 Test: TH Change-Id: I44a34a9a1853d8c25b4b48c7073937e157b001c0
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.