From 52d2772ba0910adce0c3ae2097cc24402d210e7b Mon Sep 17 00:00:00 2001 From: MrCroxx Date: Wed, 27 Dec 2023 14:26:30 +0800 Subject: [PATCH] chore: expose hyper client connect socket address debug log Signed-off-by: MrCroxx --- src/utils/runtime/src/logger.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/runtime/src/logger.rs b/src/utils/runtime/src/logger.rs index 8dde42ce783f0..e37c0ff14f992 100644 --- a/src/utils/runtime/src/logger.rs +++ b/src/utils/runtime/src/logger.rs @@ -180,7 +180,9 @@ pub fn init_risingwave_logger(settings: LoggerSettings) { .with_target("isahc", Level::WARN) .with_target("console_subscriber", Level::WARN) .with_target("reqwest", Level::WARN) - .with_target("sled", Level::INFO); + .with_target("sled", Level::INFO) + // Expose hyper connection socket addr log. + .with_target("hyper::client::connect::http", Level::DEBUG); // For all other crates, apply default level depending on the deployment and `debug_assertions` flag. let default_level = match deployment {