Use the log crate instead of stderr

This commit is contained in:
Kerollmops
2020-07-12 10:55:09 +02:00
parent 2c62eeea3c
commit 12358476da
7 changed files with 150 additions and 39 deletions

View File

@ -158,7 +158,7 @@ async fn main() -> anyhow::Result<()> {
.or(query_route);
let addr = SocketAddr::from_str(&opt.http_listen_addr).unwrap();
eprintln!("listening on http://{}", addr);
println!("listening on http://{}", addr);
warp::serve(routes).run(addr).await;
Ok(())