Skip to content

Commit

Permalink
Silence cranelift info message in the full node (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaka authored Mar 22, 2023
1 parent eef8d5f commit d3891d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions full-node/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ pub async fn run(cli_options: cli::CliOptionsRun) {
// Setup the logging system of the binary.
if !matches!(cli_output, cli::Output::None) {
let mut builder = env_logger::Builder::new();
builder.parse_filters("cranelift=error"); // TODO: temporary work around for https://github.com/smol-dot/smoldot/issues/263
if matches!(cli_output, cli::Output::Informant) {
// TODO: display infos/warnings in a nicer way ; in particular, immediately put the informant on top of warnings
builder.filter_level(log::LevelFilter::Info);
Expand Down

0 comments on commit d3891d6

Please sign in to comment.