Skip to content

Commit

Permalink
Change default log level from DEBUG to INFO
Browse files Browse the repository at this point in the history
This will not affect `ci-runtests.sh` as the log level is set to
`DEBUG` using the `RUST_LOG` env variable. Most debug logs are not
relevant when creating new integration and running them locally,
so this is a more sane default.
  • Loading branch information
Serock3 committed Jul 17, 2024
1 parent 2881687 commit 542bdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test-manager/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl Logger {
logger.filter_module("tower", log::LevelFilter::Info);
logger.filter_module("hyper", log::LevelFilter::Info);
logger.filter_module("rustls", log::LevelFilter::Info);
logger.filter_level(log::LevelFilter::Debug);
logger.filter_level(log::LevelFilter::Info);
logger.parse_env(env_logger::DEFAULT_FILTER_ENV);

let env_logger = logger.build();
Expand Down

0 comments on commit 542bdf7

Please sign in to comment.