forked from Deuxfleurs/tricot
Write proxy config to stdout to separate it from logs
This commit is contained in:
parent
de4bc8abc4
commit
d7511c683d
1 changed files with 3 additions and 2 deletions
|
@ -135,10 +135,11 @@ async fn main() {
|
||||||
);
|
);
|
||||||
|
|
||||||
while rx_proxy_config.changed().await.is_ok() {
|
while rx_proxy_config.changed().await.is_ok() {
|
||||||
info!("Proxy config:");
|
println!("---- PROXY CONFIGURATION ----");
|
||||||
for ent in rx_proxy_config.borrow().entries.iter() {
|
for ent in rx_proxy_config.borrow().entries.iter() {
|
||||||
info!(" {}", ent);
|
println!(" {}", ent);
|
||||||
}
|
}
|
||||||
|
println!();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue