feat(tvix/tracing): set release_max_level_debug for tracing
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>
This commit is contained in:
parent
29eda2d5b2
commit
79bfa931ed
2 changed files with 3 additions and 3 deletions
|
@ -12523,7 +12523,7 @@ rec {
|
||||||
"tracing-attributes" = [ "dep:tracing-attributes" ];
|
"tracing-attributes" = [ "dep:tracing-attributes" ];
|
||||||
"valuable" = [ "tracing-core/valuable" ];
|
"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 {
|
"tracing-attributes" = rec {
|
||||||
crateName = "tracing-attributes";
|
crateName = "tracing-attributes";
|
||||||
|
@ -14010,7 +14010,7 @@ rec {
|
||||||
{
|
{
|
||||||
name = "tracing";
|
name = "tracing";
|
||||||
packageId = "tracing";
|
packageId = "tracing";
|
||||||
features = [ "max_level_trace" "release_max_level_info" ];
|
features = [ "max_level_trace" "release_max_level_debug" ];
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "tracing-indicatif";
|
name = "tracing-indicatif";
|
||||||
|
|
|
@ -5,7 +5,7 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
tracing = { version = "0.1.40", features = ["max_level_trace", "release_max_level_info"] }
|
tracing = { version = "0.1.40", features = ["max_level_trace", "release_max_level_debug"] }
|
||||||
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
|
||||||
indicatif = "0.17.8"
|
indicatif = "0.17.8"
|
||||||
tracing-indicatif = "0.3.6"
|
tracing-indicatif = "0.3.6"
|
||||||
|
|
Loading…
Reference in a new issue