Switch tracing env filter from RUST_LOG to QUIRE_LOG
Scopes log configuration to this binary so QUIRE_LOG can be set
independently from other tools that read RUST_LOG.

Assisted-by: GLM-5.1 via pi
change rnroxpvuokxyovwyvkxltsznqyprqyru
commit 58da3999efaf45676a974f1dd1132968d8a72e4e
author Alpha Chen <alpha@kejadlen.dev>
date
parent xpqzttvu
diff --git a/src/bin/quire/main.rs b/src/bin/quire/main.rs
index de0eedc..568faf7 100644
--- a/src/bin/quire/main.rs
+++ b/src/bin/quire/main.rs
@@ -127,7 +127,12 @@ async fn main() -> Result<()> {
     tracing_subscriber::registry()
         .with(sentry_tracing::layer())
         .with(fmt::layer())
-        .with(EnvFilter::from_default_env())
+        .with(
+            EnvFilter::builder()
+                .with_env_var("QUIRE_LOG")
+                .from_env()
+                .into_diagnostic()?,
+        )
         .init();
 
     let cli = Cli::parse();