commit | 08422a0dcb5e93da7f7be65e5e5237c64b1000f7 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Wed Nov 08 16:46:26 2023 +0800 |
committer | Ken Chen <cken@google.com> | Wed Nov 08 17:08:06 2023 +0800 |
tree | d4cddc8573083bdd65f72f83def452949061ab6a | |
parent | 921db2ae9c5f5483aa0a79e6687f2667588ca619 [diff] |
Add a default ON flag for DNS fail-fast feature This is an emergency stop button if any unexpected regression is reported. Bug: 309739930 Test: atest resolv_integration_test Change-Id: Ib6aa5f619e34e3da33b82586d3e78b4fed5a666b
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.