commit | 7eb1e33584aa7021e0a92b33ca0c92ef776d8899 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Oct 21 11:13:30 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Thu Oct 21 11:27:19 2021 +0800 |
tree | 5769b88e67c39b231ded4886688c4013a27f8178 | |
parent | 09a42197b756423d45415d3dd026f88fba4bdd10 [diff] |
Remove default log tag Remove the default tag so as not to affect the entire netd process. Also rename the log tag in ResolverController as "resolv". Bug: 203712926 Test: checked the netd and the dnsresolver log. Change-Id: Ia16170381f4c4986883b71c281e1f8f5accd9dd4
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.