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

Commit 2ee530d5 authored by Mike Yu's avatar Mike Yu
Browse files

Upgrade some DoH logs from DEBUG to INFO

On userdebug builds, these logs give us some basic insight into
what's going on in DoH, such as connection close, timeout, etc.

[A successful DoH query]
resolv  : res_nmkquery: (QUERY, IN, AAAA)
doh::connection::driver: Handling DNS request on network 100, stats=[recv=54 sent=67 lost=0 rtt=13.788958ms cwnd=12000], peer_streams_left_bidi=83, peer_streams_left_uni=99
doh::connection::driver: Handled DNS request: stream ID 68, network 100, stream_capacity=Ok(11829)
doh::connection::driver: optional_timeout: timeout=Some(92.13807ms), network 100
doh::connection::driver: optional_timeout: timeout=Some(54.99981307s), network 100
doh::connection::driver: Got 468 bytes of response data from stream ID 68 on network 100
doh::connection::driver: optional_timeout: timeout=Some(54.999612183s), network 100
doh::connection::driver: optional_timeout: timeout=Some(54.999871378s), network 100
resolv  : res_doh_send: Https query result: 468, netid=100

[A timed out DoH query]
resolv  : res_nmkquery: (QUERY, IN, AAAA)
doh::connection::driver: Handling DNS request on network 100, stats=[recv=59 sent=73 lost=0 rtt=18.998596ms cwnd=12000], peer_streams_left_bidi=81, peer_streams_left_uni=99
doh::connection::driver: Handled DNS request: stream ID 76, network 100, stream_capacity=Ok(11826)
doh::connection::driver: H3Driver: Timer expired on network 100
doh::connection::driver: optional_timeout: timeout=Some(251.711065ms), network 100
doh::connection::driver: H3Driver: Timer expired on network 100
doh::connection::driver: optional_timeout: timeout=Some(503.921438ms), network 100
doh::connection::driver: H3Driver: Timer expired on network 100
doh::connection::driver: optional_timeout: timeout=Some(1.007884907s), network 100
doh::connection::driver: H3Driver: Timer expired on network 100
doh::connection::driver: optional_timeout: timeout=Some(2.015910358s), network 100
doh::connection::driver: H3Driver: Timer expired on network 100
doh::connection::driver: optional_timeout: timeout=Some(4.02994002s), network 100
doh::connection::driver: H3Driver: Timer expired on network 100
doh::connection::driver: optional_timeout: timeout=Some(8.064315099s), network 100
doh::connection::driver: H3Driver: Timer expired on network 100
doh::connection::driver: optional_timeout: timeout=Some(16.1287871s), network 100
resolv  : res_doh_send: Https query result: -255, netid=100

Bug: N/A
Test: built; checked the logcat
Change-Id: Ie356576a8b5123f3a6a89fddbd3afb3e269a4cfe
parent 6eb31445
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