Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wallet: downgrade spew log to debug and limit its size #905

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

yyforyongyu
Copy link
Collaborator

This commit removes using spew on production as the tx log can be extremely large. For instance, when running this build the CI crashed because of this test, that also caused my local terminal to crash, because we are printing a very large invalid tx.

wallet/wallet.go Outdated Show resolved Hide resolved
This commit removes using `spew` on production as the tx log can be
extremely large.
Copy link
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🧊

@Roasbeef Roasbeef merged commit 69cbf12 into btcsuite:master Jan 27, 2024
3 checks passed
@yyforyongyu yyforyongyu deleted the fix-logging branch January 27, 2024 00:59
buck54321 pushed a commit to buck54321/btcwallet that referenced this pull request Apr 21, 2024
wallet: downgrade `spew` log to debug and limit its size
buck54321 pushed a commit to buck54321/btcwallet that referenced this pull request Apr 21, 2024
wallet: downgrade `spew` log to debug and limit its size
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.

2 participants