Skip to content

blockchain, main: add and fix logs#2182

Merged
Roasbeef merged 2 commits intobtcsuite:masterfrom
kcalvinalvin:2024-05-01-fix-logs
May 22, 2024
Merged

blockchain, main: add and fix logs#2182
Roasbeef merged 2 commits intobtcsuite:masterfrom
kcalvinalvin:2024-05-01-fix-logs

Conversation

@kcalvinalvin
Copy link
Collaborator

The trailing : is removed from the utxocache log. It just looks better.

If the node is pruned, we now log what MiB it's pruned to. Logging alerts the user that the node is pruned and it helps for debugging purposes as well since we can now see from the logging whether or not the node is pruned.

For debug purposes down the road, log that the node is pruned if it's
set to pruned.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 8907519746

Details

  • 1 of 4 (25.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 56.882%

Changes Missing Coverage Covered Lines Changed/Added Lines %
server.go 0 3 0.0%
Totals Coverage Status
Change from base Build 8881487645: 0.01%
Covered Lines: 29456
Relevant Lines: 51784

💛 - Coveralls

Copy link
Collaborator

@saubyk saubyk left a comment

Choose a reason for hiding this comment

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

LGTM

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 b039ee6 into btcsuite:master May 22, 2024
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