commit | 74770541e02508ad4f62559222e78bfdfffb8e48 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Tue Dec 15 14:25:21 2020 +0800 |
committer | Mike Yu <yumike@google.com> | Tue Dec 15 17:50:00 2020 +0800 |
tree | 5be3f6465fef474d5847e2806c3f751a75574943 | |
parent | e60ab415c28bb968f5c3ccb5b59d200aeb3d57ac [diff] |
Some cleaup in PrivateDnsConfiguration::startValidation Also rename maybeNotifyObserver to notifyValidationStateUpdate. No functionality changes. Bug: 79727473 Test: cd packages/modules/DnsResolver && atest Change-Id: Icaf31d6d2d425d263e5b8e5289df6bb7f3e863e8
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.