about summary refs log tree commit diff
path: root/tvix/Cargo.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-03-19T20·57+0200
committerclbot <clbot@tvl.fyi>2024-03-20T12·17+0000
commit283c3f0de4142157a8ea089d78eb11d2d439c28a (patch)
tree37d6193c693dadf8197a2f5272c7eae00f736f3c /tvix/Cargo.nix
parent5627dc04e14cf4157c6159d9ca13f27bfa6683e8 (diff)
fix(tvix): allow trace level log messages in debug builds r/7752
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>
Diffstat (limited to 'tvix/Cargo.nix')
-rw-r--r--tvix/Cargo.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix
index d3272843c2f7..08caa2e7c4c2 100644
--- a/tvix/Cargo.nix
+++ b/tvix/Cargo.nix
@@ -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";