From 95c94a53dd1c8e9f1f243c984f0b22695d16e99a Mon Sep 17 00:00:00 2001 From: Florian Kluge Date: Sun, 30 Aug 2026 15:28:23 +0100 Subject: [PATCH] docs: correct the log level env var in AGENTS.md AGENTS.md documents RUST_LOG for debug logging, but main.rs reads LAN_MOUSE_LOG_LEVEL via Env::default().filter_or, so setting RUST_LOG silently has no effect and the log level stays at info. --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 70e660c8f..b203e999b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -45,7 +45,7 @@ cargo build --workspace # full build cargo build -p # single crate cargo test --workspace # all tests cargo fmt && cargo clippy --workspace --all-targets --all-features # lint -RUST_LOG=lan_mouse=debug cargo run # debug logging +LAN_MOUSE_LOG_LEVEL=debug cargo run # debug logging ``` Run from repo root—no `cd` in scripts.