Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: disable hyper hyper::client::connect::http by default #16396

Merged
merged 4 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading