Skip to content

log: move per-query api/sh_join/tweaks lines to TRACE - #166

Merged
reardencode merged 1 commit into
masterfrom
log/query-trace
Aug 20, 2026
Merged

log: move per-query api/sh_join/tweaks lines to TRACE#166
reardencode merged 1 commit into
masterfrom
log/query-trace

Conversation

@rearden-grok

@rearden-grok rearden-grok Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Why

Wallet/bench query load prints one api: line per Electrum/Esplora/RPC call at DEBUG, plus sh_join: when a join takes >10ms and a tweaks timing line. That is unusable next to --log-level debug (tip perf, etc.).

What

  • api_call stderr is TRACE. --api-log JSONL is unchanged (tail -f still works).
  • sh_join: and electrum: tweaks h=… are TRACE.
  • Connect/disconnect stay INFO.

Pin: api_stderr_line_is_trace plus the existing JSONL test.

Electrum/Esplora/RPC benches emit one DEBUG line per call plus a
sh_join timing line on any join over 10ms. That floods mainnet.log
at --log-level debug. Stderr is TRACE; --api-log JSONL is unchanged.
@reardencode
reardencode merged commit bff350d into master Aug 20, 2026
13 checks passed
@rearden-grok
rearden-grok Bot deleted the log/query-trace branch August 20, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant