Skip to content

Have the mock log facade not always print to stdout#510

Merged
tnull merged 1 commit intolightningdevkit:mainfrom
tnull:2025-03-test-log-print-cfg
Apr 15, 2025
Merged

Have the mock log facade not always print to stdout#510
tnull merged 1 commit intolightningdevkit:mainfrom
tnull:2025-03-test-log-print-cfg

Conversation

@tnull
Copy link
Collaborator

@tnull tnull commented Mar 27, 2025

In #463 we introduced a mock logger that implements the log facade in tests. Previously, it defaulted to always print TRACE-level logs to stdout. This however can be very spammy (especially since it includes TRACE-level logs of electrum_client now).

Here, we make printing the log lines optional by cfg-gating it.

(cc @enigbe)

Loading
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.

4 participants