commit | 27616fe06ec53f715578208b50ff60721b077276 | [log] [tgz] |
---|---|---|
author | Luke Huang <huangluke@google.com> | Tue May 26 17:31:15 2020 +0800 |
committer | Luke Huang <huangluke@google.com> | Fri May 29 04:16:08 2020 +0000 |
tree | b4b4a1207e976272f35f57a9cd0d4486fd5b4bc5 | |
parent | f871e4f5a931e2ba18e92d95c62f5bcd6d580a73 [diff] |
Stop depend on libnetd_client_header Use the new one libnetdbinder_utils which only included required header from netd. Create dnsproxyd_protocol_headers for NETID_USE_LOCAL_NAMESERVERS. Bug: 151895202 Test: build, atest Change-Id: I13d56bbce94614865fb0d892b1ce0c6f2fffe4af
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.