commit | e92297241f47eabb97b99e8be194172a17a9410a | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Wed Feb 24 17:40:05 2021 -0800 |
committer | Maciej Żenczykowski <maze@google.com> | Wed Feb 24 18:08:54 2021 -0800 |
tree | 53c094e22aefc5f7a48ae2138864e1383ce6a639 | |
parent | fd4ac10ea84d53689ce02dcf154b68163a75c307 [diff] |
ResolverController - fix NAT64 prefix logging a 'char' instead of an int. Currently we have: D ResolverController: Sending Nat64Prefix added event on netId 100 with address {64:ff9b::(`)} This is because: struct Nat64PrefixInfo { unsigned netId; bool added; std::string prefixString; uint8_t prefixLength; }; and thus the uint8_t is simply treated as a char(acter). Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I2a5e1ed7a1d3072c7338b1a1288540682b5514d6
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.