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

blockchain: Change tspend pass log level to debug. #2862

Merged
merged 1 commit into from
Jan 1, 2022

Conversation

rstaudt2
Copy link
Member

This changes the tspend passed log level from info to debug since info level doesn't typically log this level of detail.

@@ -1089,7 +1089,7 @@ func (b *BlockChain) checkTSpendHasVotes(prevNode *blockNode, tspend *dcrutil.Tx
maxRemainingVotes)
}

trsyLog.Infof("TSpend %v passed with: yes %v no %v quorum %v "+
trsyLog.Debugf("TSpend %v passed with: yes %v no %v quorum %v "+
Copy link
Member

Choose a reason for hiding this comment

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

ACK, but I did like to see this:

2021-12-28 12:30:20.869 [INF] TRSY: TSpend f57f2f35abcfc58cb8d45da6315982610203c1335ee0d68b36240f22c24a557a passed with: yes 6269 no 0 quorum 3456 required 5489

I'll probably start setting the TRSY subsystem to debug.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, this should definitely be debug level. It's also the only thing that would be shown at debug, so using debug logging for it would not cause a bunch of extra logging.

blockchain/treasury.go Outdated Show resolved Hide resolved
This changes the tspend passed log level from info to debug since info
level doesn't typically log this level of detail.
@rstaudt2 rstaudt2 force-pushed the tspend-passed-log-level branch from 52d2fd6 to d2b5f1e Compare December 31, 2021 19:02
@davecgh davecgh merged commit 1f67993 into decred:master Jan 1, 2022
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.

3 participants