commit | 8e3a53c12329ae253f1a0568457ece8343d87349 | [log] [tgz] |
---|---|---|
author | lifr <lifr@google.com> | Fri Mar 27 15:30:18 2020 +0800 |
committer | Frank Li <lifr@google.com> | Wed Apr 01 09:34:29 2020 +0000 |
tree | dc236c362460ea9ae09d899f3acd7a598356f269 | |
parent | fe5b82ece4576b32ceea1e660c007b3b8a2f611e [diff] |
Define rcode=12~15 (UNASSIGNED) in rcode enum type RCODE Name 11 NS_R_MAX 12 NS_R_UNASSIGNED12 13 NS_R_UNASSIGNED13 14 NS_R_UNASSIGNED14 15 NS_R_UNASSIGNED15 16 NS_R_BADVERS According the stats data of Dns Resolver module, Some DNS Servers might return undefined code to devices. Without the enum definition, that would be noise for our dashboard Bug: 150194702 Test: Manual test with statsd_testdrive Change-Id: I9c9897105092e05787b972e731ded648e9101628
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.