| commit | 6aabebe01744e56474a16a07be1dda53429fc8ca | [log] [tgz] |
|---|---|---|
| author | Maciej Żenczykowski <maze@google.com> | Wed Mar 05 00:57:26 2025 -0800 |
| committer | Maciej Żenczykowski <maze@google.com> | Wed Mar 05 01:44:45 2025 -0800 |
| tree | e79f107d5ff21805777231f1d8843bd1d653c904 | |
| parent | b0030460e807c097a62eb4d36836ba77b7146748 [diff] |
DnsResolver apex - add a NetBpfLoad-S.flag for bpf_existence_test (really should have been part of the previous commit 'DnsProxyListener: init (but ignore failure) on S/Sv2' since it serves as a flag that that patch is present) With this we have: adb shell ls -al /apex/com.android.resolv/NetBpfLoad-S.flag -rw-r--r-- 1 system system 0 1970-01-01 00:00 /apex/com.android.resolv/NetBpfLoad-S.flag Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I2de1ca6adb5d139947b59d8ab8fefbbe14ad0a72
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.