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.
6
6
7
7
### Changed
8
8
9
+ - Downgraded DNS errors to warnings ([ #17 ] ).
9
10
- All output is now wrapped in a "containerdebug" span ([ #18 ] ).
10
11
12
+ [ #17 ] : https://github.com/stackabletech/containerdebug/pull/17
11
13
[ #18 ] : https://github.com/stackabletech/containerdebug/pull/18
12
14
13
15
## [ 0.1.0] - 2024-12-09
Original file line number Diff line number Diff line change @@ -67,14 +67,14 @@ impl SystemNetworkInfo {
67
67
. into_iter ( )
68
68
. map ( |ptr_record| ptr_record. to_utf8 ( ) )
69
69
. collect ( ) ;
70
- tracing:: info!( %ip, ?hostnames, "performed reverse lookup for IP" ) ;
70
+ tracing:: info!( %ip, ?hostnames, "performed reverse DNS lookup for IP" ) ;
71
71
Some ( ( ip, hostnames) )
72
72
}
73
73
Err ( error) => {
74
- tracing:: error !(
74
+ tracing:: warn !(
75
75
%ip,
76
76
error = & error as & dyn std:: error:: Error ,
77
- "reverse lookup failed"
77
+ "reverse DNS lookup failed"
78
78
) ;
79
79
None
80
80
}
@@ -89,14 +89,14 @@ impl SystemNetworkInfo {
89
89
. filter_map ( |hostname| match resolver. lookup_ip ( hostname. clone ( ) ) {
90
90
Ok ( result) => {
91
91
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" ) ;
93
93
Some ( ( hostname, ips) )
94
94
}
95
95
Err ( error) => {
96
- tracing:: error !(
96
+ tracing:: warn !(
97
97
hostname,
98
98
error = & error as & dyn std:: error:: Error ,
99
- "forward lookup failed"
99
+ "forward DNS lookup failed"
100
100
) ;
101
101
None
102
102
}
You can’t perform that action at this time.
0 commit comments