Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3952ccca authored by Bernie Innocenti's avatar Bernie Innocenti
Browse files

resolv: small improvements for debug logging

 - use __func__ instead of the hand-written and often incorrect names
 - fix a few cosmetic issues, such as those ugly ";;" prefixes
 - add some logging around explore_fqdn and explore_numeric
 - change the verbosity of a few messages
 - replace compile-time DBG macro with verbosity checks in DnsProxyListener
 - delete various unused functions in res_debug
 - skip slow res_pquery() if log level is less than VERBOSE

TODO: convert the remaining ALOGx() lines to LOG(x). Leaving this for a
future patch.

Test: as follows:
    adb shell setprop persist.sys.nw_dns_resolver_log DEBUG
    atest reolv_integration_test

Change-Id: I7153f0c75d39d513fa006e0c1e5bf649d47ba154
parent 253ea334
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment