11use hyper:: service:: { make_service_fn, service_fn} ;
22use hyper:: { Body , Method , Request , Response , Server , StatusCode } ;
3- use log:: { error, info, warn } ;
3+ use log:: { error, info, debug } ;
44use phf:: phf_map;
55use std:: collections:: HashMap ;
66use std:: fmt;
@@ -275,7 +275,7 @@ fn push_address_stats(lines: &mut Vec<String>) {
275275 {
276276 lines. push ( prometheus_metric. to_string ( ) ) ;
277277 } else {
278- warn ! ( "Metric {} not implemented for {}" , key, address. name( ) ) ;
278+ debug ! ( "Metric {} not implemented for {}" , key, address. name( ) ) ;
279279 }
280280 }
281281 }
@@ -293,7 +293,7 @@ fn push_pool_stats(lines: &mut Vec<String>) {
293293 {
294294 lines. push ( prometheus_metric. to_string ( ) ) ;
295295 } else {
296- warn ! ( "Metric {} not implemented for ({})" , name, * pool_id) ;
296+ debug ! ( "Metric {} not implemented for ({})" , name, * pool_id) ;
297297 }
298298 }
299299 }
@@ -318,7 +318,7 @@ fn push_database_stats(lines: &mut Vec<String>) {
318318 {
319319 lines. push ( prometheus_metric. to_string ( ) ) ;
320320 } else {
321- warn ! ( "Metric {} not implemented for {}" , key, address. name( ) ) ;
321+ debug ! ( "Metric {} not implemented for {}" , key, address. name( ) ) ;
322322 }
323323 }
324324 }
0 commit comments