diff --git a/Cargo.toml b/Cargo.toml index 0a3808be0e..6549b8b09f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,7 +64,7 @@ serde_cbor = { version = "0.12.0-dev", package = "serde_cbor_2" } serde_json = "1.0" serde_urlencoded = "0.7" sha-1 = "0.10" -sqlx = { version = "0.7", features = [ +sqlx = { version = "0.7.4", features = [ "chrono", "ipnetwork", "runtime-tokio-native-tls", diff --git a/src/grpc/gateway.rs b/src/grpc/gateway.rs index f97b1d8491..9e637e41cd 100644 --- a/src/grpc/gateway.rs +++ b/src/grpc/gateway.rs @@ -539,7 +539,8 @@ impl gateway_service_server::GatewayService for GatewayServer { format!("Saving WireGuard peer stats to db failed: {err}"), )); } - info!("Saved WireGuard peer stats to db: {stats:?}"); + info!("Saved WireGuard peer stats to db."); + debug!("WireGuard peer stats: {stats:?}"); } Ok(Response::new(())) } diff --git a/src/grpc/mod.rs b/src/grpc/mod.rs index 17e4e1b788..5fd63daea8 100644 --- a/src/grpc/mod.rs +++ b/src/grpc/mod.rs @@ -514,6 +514,7 @@ pub async fn run_grpc_bidi_stream( tx.send(req).unwrap(); } Err(err) => { + error!("Disconnected from proxy at {}", endpoint.uri()); error!("stream error: {err}"); debug!("waiting 10s to re-establish the connection"); sleep(TEN_SECS).await;