From 089af00d4ab90c795d82acc57d3987dd4132abf5 Mon Sep 17 00:00:00 2001 From: EAimTY Date: Sat, 4 Mar 2023 19:45:42 +0900 Subject: [PATCH] bug fixes --- tuic-client/src/connection.rs | 2 +- tuic-client/src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tuic-client/src/connection.rs b/tuic-client/src/connection.rs index 9f6ac64..d21d370 100644 --- a/tuic-client/src/connection.rs +++ b/tuic-client/src/connection.rs @@ -171,7 +171,7 @@ impl Endpoint { match res { Ok(conn) => { - log::info!("[connection] established"); + log::info!("[connection] connection established"); tokio::spawn(conn.clone().init( self.heartbeat, self.gc_interval, diff --git a/tuic-client/src/main.rs b/tuic-client/src/main.rs index c3ed5c1..b863d3a 100644 --- a/tuic-client/src/main.rs +++ b/tuic-client/src/main.rs @@ -32,6 +32,7 @@ async fn main() { LoggerBuilder::new() .filter_level(cfg.log_level) .format_module_path(false) + .format_target(false) .init(); match Endpoint::set_config(cfg.relay) {