about summary refs log tree commit diff
path: root/tvix/Cargo.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-06-13T11·58+0300
committerclbot <clbot@tvl.fyi>2024-06-13T16·18+0000
commit79bfa931ed6e559cc5f9de600886d339b091e66c (patch)
treecf617b355cca430c66a8cdf4b039f944e6ad906a /tvix/Cargo.nix
parent29eda2d5b2baa61aea80e2cef3c5508278751421 (diff)
feat(tvix/tracing): set release_max_level_debug for tracing r/8262
This allows explicitly opting in to get DEBUG-level log lines, by
setting RUST_LOG.

It currently also causes traces to be emitted in all cases, so we might
do some runtime filtering there too, as discussed in cl/11791.

Change-Id: I2865bb06a62465836d63196422f5f734f7165386
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11801
Tested-by: BuildkiteCI
Reviewed-by: aspen <root@gws.fyi>
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 fa48c2ca605b..360747b8d283 100644
--- a/tvix/Cargo.nix
+++ b/tvix/Cargo.nix
@@ -12523,7 +12523,7 @@ rec {
           "tracing-attributes" = [ "dep:tracing-attributes" ];
           "valuable" = [ "tracing-core/valuable" ];
         };
-        resolvedDefaultFeatures = [ "attributes" "default" "log" "max_level_trace" "release_max_level_info" "std" "tracing-attributes" ];
+        resolvedDefaultFeatures = [ "attributes" "default" "log" "max_level_trace" "release_max_level_debug" "std" "tracing-attributes" ];
       };
       "tracing-attributes" = rec {
         crateName = "tracing-attributes";
@@ -14010,7 +14010,7 @@ rec {
           {
             name = "tracing";
             packageId = "tracing";
-            features = [ "max_level_trace" "release_max_level_info" ];
+            features = [ "max_level_trace" "release_max_level_debug" ];
           }
           {
             name = "tracing-indicatif";