Reduce logs

This commit is contained in:
Erik 2023-04-25 12:56:32 +02:00
parent f3c20341fa
commit b684c1dd76
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
curl --header "Content-Type: application/json" \ curl --header "Content-Type: application/json" \
--data '{ --data '{
"modify": { "modify": {
"destination_port": 8888, "destination_port": 9111,
"destination_ip": "127.0.0.1", "destination_ip": "127.0.0.1",
"id": "67e55044-10b1-426f-9247-bb680e5fe0c8" "id": "67e55044-10b1-426f-9247-bb680e5fe0c8"
} }

View File

@ -140,7 +140,7 @@ pub async fn process_command(
( (
StatusCode::ACCEPTED, StatusCode::ACCEPTED,
Json(ProxyResponse { Json(ProxyResponse {
message: "Success".to_string(), message: "success".to_string(),
}), }),
) )
} }

View File

@ -10,7 +10,7 @@ use tracing::Level;
async fn main() { async fn main() {
// initialize tracing // initialize tracing
let subscriber = tracing_subscriber::FmtSubscriber::builder() let subscriber = tracing_subscriber::FmtSubscriber::builder()
.with_max_level(Level::TRACE) .with_max_level(Level::INFO)
.finish(); .finish();
tracing::subscriber::set_global_default(subscriber).unwrap(); tracing::subscriber::set_global_default(subscriber).unwrap();