pub fn build_env_filter(verbose: u8) -> EnvFilterExpand description
Builds the process-local tracing filter from CLI -v count only (G-AUD-22 / G14).
| level | filter |
|---|---|
| 0 | error |
1 (-v) | warn,ssh_cli=info |
2 (-vv) | warn,ssh_cli=debug |
≥3 (-vvv) | warn,ssh_cli=trace |
Ambient RUST_LOG is ignored (not an env store of product config).
--quiet affects human stdout only (crate::output::set_quiet).
G2 security: never emit a bare global debug/trace directive — that
enables russh::client::encrypted, which logs the raw userauth packet
(SSH password in cleartext) to stderr.