move logging for clarity
This commit is contained in:
parent
7444fc4f9b
commit
772bda8e93
1 changed files with 2 additions and 1 deletions
|
@ -87,7 +87,6 @@ async fn main() -> io::Result<()> {
|
|||
|
||||
// Server creation
|
||||
let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
|
||||
tracing::debug!("listening on http://{}/", addr);
|
||||
let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();
|
||||
axum::serve(
|
||||
listener,
|
||||
|
@ -96,6 +95,8 @@ async fn main() -> io::Result<()> {
|
|||
.await
|
||||
.unwrap();
|
||||
|
||||
tracing::debug!("listening on http://{}/", addr);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue