Skip to content

Commit

Permalink
chore: disable hyper hyper::client::connect::http by default (#16396)
Browse files Browse the repository at this point in the history
Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan authored Apr 19, 2024
1 parent 66ac135 commit bda3b45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ if ${is_not_ci}
no_rust_log = not ${rust_log}
if ${no_rust_log}
set_env RUST_LOG "pgwire_query_log=info,hyper::client::connect::http=info"
set_env RUST_LOG "pgwire_query_log=info"
else
set_env RUST_LOG "pgwire_query_log=info,hyper::client::connect::http=info,${rust_log}"
set_env RUST_LOG "pgwire_query_log=info,${rust_log}"
end
end
Expand Down
4 changes: 1 addition & 3 deletions src/utils/runtime/src/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@ pub fn init_risingwave_logger(settings: LoggerSettings) {
.with_target("sled", Level::INFO)
.with_target("cranelift", Level::INFO)
.with_target("wasmtime", Level::INFO)
.with_target("sqlx", Level::WARN)
// Expose hyper connection socket addr log.
.with_target("hyper::client::connect::http", Level::DEBUG);
.with_target("sqlx", Level::WARN);

// For all other crates, apply default level depending on the deployment and `debug_assertions` flag.
let default_level = match deployment {
Expand Down

0 comments on commit bda3b45

Please sign in to comment.