1
1
use hyper:: service:: { make_service_fn, service_fn} ;
2
2
use hyper:: { Body , Method , Request , Response , Server , StatusCode } ;
3
- use log:: { error, info, warn } ;
3
+ use log:: { error, info, debug } ;
4
4
use phf:: phf_map;
5
5
use std:: collections:: HashMap ;
6
6
use std:: fmt;
@@ -275,7 +275,7 @@ fn push_address_stats(lines: &mut Vec<String>) {
275
275
{
276
276
lines. push ( prometheus_metric. to_string ( ) ) ;
277
277
} else {
278
- warn ! ( "Metric {} not implemented for {}" , key, address. name( ) ) ;
278
+ debug ! ( "Metric {} not implemented for {}" , key, address. name( ) ) ;
279
279
}
280
280
}
281
281
}
@@ -293,7 +293,7 @@ fn push_pool_stats(lines: &mut Vec<String>) {
293
293
{
294
294
lines. push ( prometheus_metric. to_string ( ) ) ;
295
295
} else {
296
- warn ! ( "Metric {} not implemented for ({})" , name, * pool_id) ;
296
+ debug ! ( "Metric {} not implemented for ({})" , name, * pool_id) ;
297
297
}
298
298
}
299
299
}
@@ -318,7 +318,7 @@ fn push_database_stats(lines: &mut Vec<String>) {
318
318
{
319
319
lines. push ( prometheus_metric. to_string ( ) ) ;
320
320
} else {
321
- warn ! ( "Metric {} not implemented for {}" , key, address. name( ) ) ;
321
+ debug ! ( "Metric {} not implemented for {}" , key, address. name( ) ) ;
322
322
}
323
323
}
324
324
}
0 commit comments