commit | 718c5d752cc5fe8b9d9cf2eaef75016bbdcc092d | [log] [tgz] |
---|---|---|
author | Mike Yu <yumike@google.com> | Thu Feb 24 03:16:29 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Feb 24 03:16:29 2022 +0000 |
tree | e9dfbe8f5a898598d4230be8242ac89f92e0cec9 | |
parent | ba53ef2427ce6d9826c330b9df27bc0104eea333 [diff] | |
parent | 296677ef58ab8ea9f42091d85b4712a5e987c453 [diff] |
DoH: Use trace_id() in logging to differentiate between connections am: 78f82d6735 am: 296677ef58 Original change: https://android-review.googlesource.com/c/platform/packages/modules/DnsResolver/+/1978404 Change-Id: Ie1286aa9b67a7d08072abd488a202d0614604144
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.