Reduce logs
This commit is contained in:
parent
f3c20341fa
commit
b684c1dd76
@ -1,7 +1,7 @@
|
||||
curl --header "Content-Type: application/json" \
|
||||
--data '{
|
||||
"modify": {
|
||||
"destination_port": 8888,
|
||||
"destination_port": 9111,
|
||||
"destination_ip": "127.0.0.1",
|
||||
"id": "67e55044-10b1-426f-9247-bb680e5fe0c8"
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ pub async fn process_command(
|
||||
(
|
||||
StatusCode::ACCEPTED,
|
||||
Json(ProxyResponse {
|
||||
message: "Success".to_string(),
|
||||
message: "success".to_string(),
|
||||
}),
|
||||
)
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ use tracing::Level;
|
||||
async fn main() {
|
||||
// initialize tracing
|
||||
let subscriber = tracing_subscriber::FmtSubscriber::builder()
|
||||
.with_max_level(Level::TRACE)
|
||||
.with_max_level(Level::INFO)
|
||||
.finish();
|
||||
|
||||
tracing::subscriber::set_global_default(subscriber).unwrap();
|
||||
|
Loading…
Reference in New Issue
Block a user