diff options
author | Alex Auvolat <alex@adnab.me> | 2021-12-08 11:24:25 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-12-08 11:24:25 +0100 |
commit | d7f3c13fa409ef2ee1ee78c18aae47e57383bec0 (patch) | |
tree | 427ceaca57f2038a4f46881b115624e72c7e3e14 /src/main.rs | |
parent | 098a6cf2cdb9b0370ab7358b005f731b65e9981c (diff) | |
download | tricot-d7f3c13fa409ef2ee1ee78c18aae47e57383bec0.tar.gz tricot-d7f3c13fa409ef2ee1ee78c18aae47e57383bec0.zip |
Logging output improvements
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index c6fd1d1..79c366b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,7 +57,7 @@ struct Opt { #[tokio::main(flavor = "multi_thread", worker_threads = 10)] async fn main() { if std::env::var("RUST_LOG").is_err() { - std::env::set_var("RUST_LOG", "tricot=debug") + std::env::set_var("RUST_LOG", "tricot=info") } pretty_env_logger::init(); @@ -81,7 +81,7 @@ async fn main() { while rx_proxy_config.changed().await.is_ok() { info!("Proxy config:"); for ent in rx_proxy_config.borrow().entries.iter() { - info!(" {:?}", ent); + info!(" {}", ent); } } } |