File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ All notable changes to this project will be documented in this file.
66
77### Changed
88
9+ - Downgraded DNS errors to warnings ([ #17 ] ).
910- All output is now wrapped in a "containerdebug" span ([ #18 ] ).
1011
12+ [ #17 ] : https://github.com/stackabletech/containerdebug/pull/17
1113[ #18 ] : https://github.com/stackabletech/containerdebug/pull/18
1214
1315## [ 0.1.0] - 2024-12-09
Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ impl SystemNetworkInfo {
6767 . into_iter ( )
6868 . map ( |ptr_record| ptr_record. to_utf8 ( ) )
6969 . collect ( ) ;
70- tracing:: info!( %ip, ?hostnames, "performed reverse lookup for IP" ) ;
70+ tracing:: info!( %ip, ?hostnames, "performed reverse DNS lookup for IP" ) ;
7171 Some ( ( ip, hostnames) )
7272 }
7373 Err ( error) => {
74- tracing:: error !(
74+ tracing:: warn !(
7575 %ip,
7676 error = & error as & dyn std:: error:: Error ,
77- "reverse lookup failed"
77+ "reverse DNS lookup failed"
7878 ) ;
7979 None
8080 }
@@ -89,14 +89,14 @@ impl SystemNetworkInfo {
8989 . filter_map ( |hostname| match resolver. lookup_ip ( hostname. clone ( ) ) {
9090 Ok ( result) => {
9191 let ips = result. iter ( ) . collect ( ) ;
92- tracing:: info!( hostname, ?ips, "performed forward lookup for hostname" ) ;
92+ tracing:: info!( hostname, ?ips, "performed forward DNS lookup for hostname" ) ;
9393 Some ( ( hostname, ips) )
9494 }
9595 Err ( error) => {
96- tracing:: error !(
96+ tracing:: warn !(
9797 hostname,
9898 error = & error as & dyn std:: error:: Error ,
99- "forward lookup failed"
99+ "forward DNS lookup failed"
100100 ) ;
101101 None
102102 }
You can’t perform that action at this time.
0 commit comments