diff options
author | Florian Klink <flokli@flokli.de> | 2024-10-30T12·05+0000 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-10-30T12·31+0000 |
commit | 6c13491fe0390b935a9ceb80904e2cb2b4a0a8a5 (patch) | |
tree | a0311799ac9209f3ba9930e920b8b7711898030a | |
parent | 7133e1a4b17ca84664797f5619816fc62f2138f6 (diff) |
refactor(tvix/store): drop log level cli arg r/8875
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 <personal@ilanjoselevich.com> Tested-by: BuildkiteCI Autosubmit: flokli <flokli@flokli.de>
-rw-r--r-- | tvix/store/src/bin/tvix-store.rs | 9 |
1 files changed, 1 insertions, 8 deletions
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<dyn std::error::Error + Send + Sync>> { 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 { |