tracing: actually log listening address
This commit is contained in:
parent
7e8844c89a
commit
9d5ee868e8
1 changed files with 1 additions and 2 deletions
|
@ -68,7 +68,6 @@ async fn serve(app: Router) {
|
||||||
|
|
||||||
let service = app.into_make_service_with_connect_info::<SocketAddr>();
|
let service = app.into_make_service_with_connect_info::<SocketAddr>();
|
||||||
|
|
||||||
|
tracing::info!("listening on http://{}/", addr);
|
||||||
axum::serve(listener, service).await.unwrap();
|
axum::serve(listener, service).await.unwrap();
|
||||||
|
|
||||||
tracing::debug!("listening on http://{}/", addr);
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue