From 38ad623983f4b2f6dbd67fcea6d372ec1e202e71 Mon Sep 17 00:00:00 2001 From: Maix0 Date: Tue, 25 Jun 2024 19:37:28 +0200 Subject: [PATCH] Log better --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index ea3f7f0..9a1c1c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,12 +33,13 @@ async fn main() { let listener = tokio::net::TcpListener::bind("127.0.0.1:3000") .await .unwrap(); - tracing::debug!("listening on {}", listener.local_addr().unwrap()); + tracing::info!("listening on {}", listener.local_addr().unwrap()); axum::serve(listener, app).await.unwrap(); } // basic handler that responds with a static string async fn root() -> Html<&'static str> { + info!("Request link page"); Html( r#" restart