Skip to content

Commit

Permalink
Set rustls logging to info by default (to reduce noise in logs)
Browse files Browse the repository at this point in the history
  • Loading branch information
azat committed Jan 23, 2024
1 parent 6594bae commit 1f803d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async fn main() -> Result<()> {
// FIXME: should be initialize before options, but options prints completion that should be
// done before terminal switched to raw mode.
let logger = Logger::try_with_env_or_str(
"trace,cursive=info,clickhouse_rs=info,skim=info,tuikit=info,hyper=info",
"trace,cursive=info,clickhouse_rs=info,skim=info,tuikit=info,hyper=info,rustls=info",
)?
.log_to_writer(cursive_flexi_logger_view::cursive_flexi_logger(&siv))
.format(flexi_logger::colored_with_thread)
Expand Down

0 comments on commit 1f803d8

Please sign in to comment.