about summary refs log tree commit diff
path: root/tvix/cli/Cargo.toml
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-02-17T10·33+0700
committerflokli <flokli@flokli.de>2024-02-18T07·12+0000
commit33e68496f25e2a060f72088284a90be5299c3ba5 (patch)
tree4fcfaad2a21617f08de8b53a20a3734a2157abb1 /tvix/cli/Cargo.toml
parent28f5c13c53110afaed48d5e20c371c125d999421 (diff)
fix(tvix/cli): set max level to info on release mode r/7548
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 <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/cli/Cargo.toml')
-rw-r--r--tvix/cli/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/cli/Cargo.toml b/tvix/cli/Cargo.toml
index 81e28c4c7cf0..bb561f198deb 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]