snix/tvix/store/src
Florian Klink c0e16059e6 feat(tvix/store): support RUST_LOG env var
This allows selectively increasing the log level for only parts of the
stack.

For example, the following RUST_LOG env var enables "tracing" level
logging for `tvix_store` and `tvix_castore`, while keeping it at "info"
for the rest of the stack:

export RUST_LOG='info,tvix_store=trace,tvix_castore=trace'

It only affects logs, not traces (if enabled).

Change-Id: Ib936bd132a405f216e75c843db83fbd71d20a18a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11182
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2024-03-18 16:10:05 +00:00
..
bin feat(tvix/store): support RUST_LOG env var 2024-03-18 16:10:05 +00:00
nar refactor(tvix/store/nar/renderer): don't require Arc, Clone or Sync 2024-01-12 20:37:03 +00:00
pathinfoservice refactor(tvix/*/from_addr): improve test debuggability 2024-03-03 16:54:19 +00:00
proto fix(tvix/store/grpc/pathinfo): skip_all fields, handle errors 2024-03-09 05:48:46 +00:00
tests refactor(tvix/store/pathinfoservice): make more generic 2024-01-12 20:37:35 +00:00
import.rs docs(tvix): fix some docstrings 2024-03-15 23:16:01 +00:00
lib.rs refactor(tvix/store): import_pathimport_path_as_nar_ca 2024-01-20 18:26:17 +00:00
utils.rs refactor(tvix/store): import_pathimport_path_as_nar_ca 2024-01-20 18:26:17 +00:00