commit | 423b58e3c93577b534367d823abbf5045a8842d1 | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Wed Apr 07 17:09:09 2021 +0800 |
committer | Mike Yu <yumike@google.com> | Wed Apr 07 17:27:48 2021 +0800 |
tree | 67bf71b2d68f88909ff302c9dfeeedc80ad7af1d | |
parent | e7c54de89352b560351528aea4bca69170a76f3c [diff] |
Downgrade DoT connection error message to Warning The failures of private DNS connection are common and sometimes expected, such as firewall blocking, opportunistic private DNS mode. It's not a DnsResolver bug, so downgrade the logging level to Warning. Bug: 181269159 Test: cd packages/modules/DnsResolver && mm Change-Id: Ic56aaebce6cfa2c73dba9320119fdc9217905624
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.