From 6c13491fe0390b935a9ceb80904e2cb2b4a0a8a5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Wed, 30 Oct 2024 12:05:05 +0000 Subject: refactor(tvix/store): drop log level cli arg This does the same as cl/12585 did for tvix-cli. Change-Id: I35215947f3616acd65654c2bbdb19d0c360b568b Reviewed-on: https://cl.tvl.fyi/c/depot/+/12714 Reviewed-by: Ilan Joselevich Tested-by: BuildkiteCI Autosubmit: flokli --- tvix/store/src/bin/tvix-store.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'tvix') diff --git a/tvix/store/src/bin/tvix-store.rs b/tvix/store/src/bin/tvix-store.rs index d21bc630ebec..0ae18ec2161a 100644 --- a/tvix/store/src/bin/tvix-store.rs +++ b/tvix/store/src/bin/tvix-store.rs @@ -56,13 +56,6 @@ struct Cli { #[arg(long, default_missing_value = "true", default_value = "true", num_args(0..=1), require_equals(true), action(clap::ArgAction::Set))] otlp: bool, - /// A global log level to use when printing logs. - /// It's also possible to set `RUST_LOG` according to - /// `tracing_subscriber::filter::EnvFilter`, which will always have - /// priority. - #[arg(long, default_value_t=Level::INFO)] - log_level: Level, - #[command(subcommand)] command: Commands, } @@ -522,7 +515,7 @@ async fn main() -> Result<(), Box> { let tracing_handle = { let mut builder = tvix_tracing::TracingBuilder::default(); - builder = builder.level(cli.log_level).enable_progressbar(); + builder = builder.enable_progressbar(); #[cfg(feature = "otlp")] { if cli.otlp { -- cgit 1.4.1