diff --git a/ostp-server/src/lib.rs b/ostp-server/src/lib.rs index 9d2437c..06ab83b 100644 --- a/ostp-server/src/lib.rs +++ b/ostp-server/src/lib.rs @@ -380,14 +380,14 @@ pub async fn run_server( .unwrap_or(std::time::Duration::MAX); if elapsed >= std::time::Duration::from_secs(30) { if probe_suppressed > 0 { - tracing::warn!( + tracing::debug!( "(+{} more unauthorized probes suppressed in the previous ~30s)", probe_suppressed ); } probe_window_start = Some(now); probe_suppressed = 0; - tracing::warn!("Unauthorized probe from {peer} ({bytes} bytes): {reason}"); + tracing::debug!("Unauthorized probe from {peer} ({bytes} bytes): {reason}"); } else { probe_suppressed += 1; } diff --git a/ostp-server/src/transport/uot.rs b/ostp-server/src/transport/uot.rs index 13d0a56..1dec15d 100644 --- a/ostp-server/src/transport/uot.rs +++ b/ostp-server/src/transport/uot.rs @@ -16,7 +16,7 @@ pub async fn handle_tcp_connection( where S: tokio::io::AsyncRead + tokio::io::AsyncWrite + Unpin + Send + 'static, { - info!("UoT client connected from {}", peer_addr); + tracing::debug!("UoT client connected from {}", peer_addr); // Register this connection in the map let (tx, mut rx) = mpsc::channel::(16384); @@ -54,6 +54,6 @@ where }); let _ = tokio::join!(writer_task, reader_task); - info!("UoT client disconnected: {}", peer_addr); + tracing::debug!("UoT client disconnected: {}", peer_addr); Ok(()) }