commit | 70e9ff94cec9ae5ca85603d55e4f7b1fd67f692a | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Tue Mar 22 00:53:46 2022 +0800 |
committer | Ken Chen <cken@google.com> | Tue Mar 22 01:01:17 2022 +0800 |
tree | 208a9d0b87b4ae43070777451a098315feaef1a5 | |
parent | adc98bd97bf52878513e060edead999526ea101a [diff] |
Disable DnsResolver log in userdebug build To accommodate go/android-userdebug-policy, set DnsResolver default log level to warning in usesrdebug build. Test: atest Bug: 215325766 Change-Id: Ib710a427a4897e4955da2d4055b57bc5d65077ad
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.