From 33e68496f25e2a060f72088284a90be5299c3ba5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 17 Feb 2024 17:33:32 +0700 Subject: fix(tvix/cli): set max level to info on release mode Log levels can be statically disabled at compile time via Cargo features. Do this for everything more verbose than info in release mode. Change-Id: I57d4282b4e19a8d44f68da2f15c7534dd3e08977 Reviewed-on: https://cl.tvl.fyi/c/depot/+/10955 Autosubmit: flokli Reviewed-by: tazjin Tested-by: BuildkiteCI --- tvix/cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/cli/Cargo.toml') diff --git a/tvix/cli/Cargo.toml b/tvix/cli/Cargo.toml index 81e28c4c7c..bb561f198d 100644 --- a/tvix/cli/Cargo.toml +++ b/tvix/cli/Cargo.toml @@ -20,7 +20,7 @@ dirs = "4.0.0" rustyline = "10.0.0" thiserror = "1.0.38" tokio = "1.28.0" -tracing = "0.1.37" +tracing = { version = "0.1.37", features = ["max_level_debug", "release_max_level_info"] } tracing-subscriber = { version = "0.3.16", features = ["json"] } [dependencies.wu-manber] -- cgit 1.4.1