Skip to content

web search done right

control log level with environment variable

Mikkel Denkerd896e4ea94ad
diff --git a/justfile b/justfile
index 9d0aad7b..f16b2987 100644
--- a/justfile
+++ b/justfile
@@ -1,7 +1,7 @@
@dev *ARGS:
./scripts/run_dev.py {{ARGS}}
-export RUST_LOG := "info,stract=debug"
+export RUST_LOG := env_var_or_default("RUST_LOG", "info,stract=debug")
export STRACT_CARGO_ARGS := env_var_or_default("STRACT_CARGO_ARGS", "")