From d7511c683d47cdc6eb2d19f4276b359b1c6841f6 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 19 Jan 2022 14:53:19 +0100 Subject: Write proxy config to stdout to separate it from logs --- src/main.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 7023d67..dcbd187 100644 --- a/src/main.rs +++ b/src/main.rs @@ -135,10 +135,11 @@ async fn main() { ); while rx_proxy_config.changed().await.is_ok() { - info!("Proxy config:"); + println!("---- PROXY CONFIGURATION ----"); for ent in rx_proxy_config.borrow().entries.iter() { - info!(" {}", ent); + println!(" {}", ent); } + println!(); } } -- cgit v1.2.3