Add logging of JSON requests, CI and Dockerization #2

Merged
dorian merged 16 commits from axum-migration into main 2024-02-23 14:33:23 -05:00
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 8010008268 - Show all commits

View File

@ -52,7 +52,9 @@ async fn echo_request(
warn!("Received a non-JSON body.");
None
},
Some(Json(value)) => Some(value),
Some(Json(value)) => {
info!("JSON request: {}", value.to_string());
Some(value)},
};
let response = EchoResponse {
method,