commit | ac6c9a404d3f1d2671f4ed1f9770b57e14b504ad | [log] [tgz] |
---|---|---|
author | Bernie Innocenti <codewiz@google.com> | Fri Nov 27 21:57:41 2020 +0900 |
committer | Bernie Innocenti <codewiz@google.com> | Fri Nov 27 22:01:55 2020 +0900 |
tree | 07c8ec4a3f40df2f855bb2a76ff55c7356f0162e | |
parent | a60f48b6a659341d4588af7c98de190fe3d6338b [diff] |
Move OperationLimiter to DnsResolver OperationLimiter logically belongs with its only customer, DnsResolver. I added OperationLimiter to libnetdutils for code sharing, but it turns out netd doesn't have any need for this because it doesn't include other threaded servers. Change-Id: Id48cd47c6d257b63a276efb91bd3b270357c8c13
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.