fix(tvix): allow trace level log messages in debug builds

We had max_level_debug, not max_level_trace, so it was not possible to
have `RUST_LOG` emit trace-level values (at least for our crates).

release_max_level_info still controls the level for release builds, so
that's not affected.

Change-Id: I1f127ab63f13b1622d6616e06759a9414d9bb201
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11208
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2024-03-19 22:57:18 +02:00 committed by clbot
parent 5627dc04e1
commit 283c3f0de4
2 changed files with 3 additions and 3 deletions

View file

@ -11601,7 +11601,7 @@ rec {
"tracing-attributes" = [ "dep:tracing-attributes" ];
"valuable" = [ "tracing-core/valuable" ];
};
resolvedDefaultFeatures = [ "attributes" "default" "log" "max_level_debug" "release_max_level_info" "std" "tracing-attributes" ];
resolvedDefaultFeatures = [ "attributes" "default" "log" "max_level_trace" "release_max_level_info" "std" "tracing-attributes" ];
};
"tracing-attributes" = rec {
crateName = "tracing-attributes";
@ -12301,7 +12301,7 @@ rec {
{
name = "tracing";
packageId = "tracing";
features = [ "max_level_debug" "release_max_level_info" ];
features = [ "max_level_trace" "release_max_level_info" ];
}
{
name = "tracing-subscriber";

View file

@ -20,7 +20,7 @@ dirs = "4.0.0"
rustyline = "10.0.0"
thiserror = "1.0.38"
tokio = "1.28.0"
tracing = { version = "0.1.37", features = ["max_level_debug", "release_max_level_info"] }
tracing = { version = "0.1.37", features = ["max_level_trace", "release_max_level_info"] }
tracing-subscriber = { version = "0.3.16", features = ["json"] }
[dependencies.wu-manber]