From 7fedfe1cde1d1b021c50f3cbd4f620027c85a7ce Mon Sep 17 00:00:00 2001 From: Ilan Joselevich Date: Thu, 3 Oct 2024 20:02:22 +0200 Subject: feat(tvix/[ca]store): Add logging support to redb We wanted to enable this earlier but the log level of many of the messages in redb were too high, they've now been downgraded, so we can enable logs from redb. Context on the fix and release: - https://github.com/cberner/redb/pull/828 - https://github.com/cberner/redb/releases/tag/v2.1.2 Change-Id: I8635e8a0bcb01a7d0b580387ac9134ccdd0205f3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12568 Autosubmit: Ilan Joselevich Tested-by: BuildkiteCI Reviewed-by: flokli --- tvix/Cargo.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tvix/Cargo.nix') diff --git a/tvix/Cargo.nix b/tvix/Cargo.nix index 03ed46549145..3bce8c74afe5 100644 --- a/tvix/Cargo.nix +++ b/tvix/Cargo.nix @@ -10063,6 +10063,11 @@ rec { packageId = "libc"; target = { target, features }: (target."unix" or false); } + { + name = "log"; + packageId = "log"; + optional = true; + } ]; devDependencies = [ { @@ -10075,6 +10080,7 @@ rec { "logging" = [ "dep:log" ]; "python" = [ "dep:pyo3" "dep:pyo3-build-config" ]; }; + resolvedDefaultFeatures = [ "logging" ]; }; "redox_syscall 0.3.5" = rec { crateName = "redox_syscall"; @@ -15219,6 +15225,7 @@ rec { { name = "redb"; packageId = "redb"; + features = [ "logging" ]; } { name = "serde"; @@ -16010,6 +16017,7 @@ rec { { name = "redb"; packageId = "redb"; + features = [ "logging" ]; } { name = "reqwest"; -- cgit 1.4.1