Files
craft-launcher/apps
Dylan M. Taylor b16a15a210 fix(logging): drop HTTP wire dumps whatever RUST_LOG says (#1185)
* fix(logging): drop HTTP wire dumps whatever RUST_LOG says

ureq_proto traces every byte it sends as hex-and-ASCII rows, the
Authorization header with the optional ARTCRAFT_LAUNCHER_GITHUB_TOKEN
included. The builder capped ureq_proto at debug, but env_logger lets the
longest matching module win, so RUST_LOG=ureq_proto::util=trace still
wrote the token to standard error and the log file, split across rows
where the Bearer redaction can't see it.

Wrap the env_logger Logger in a gate that drops ureq_proto trace records
before they are formatted, whatever the filter says.

* test(logging): pin wire-dump test filters against inherited RUST_LOG
2026-11-02 21:37:17 -05:00
..