[Trivial] Move evodb_cache Memory Usage logging #2322
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The log message for evodb_cache Memory Usage is missing a newline character, therefore the next log message is concatenated.
Combining evodb_cache Memory Usage with previous UpdateTip log message.
Before
2021-04-18 07:36:46 UpdateTip: new best=c58f3103a1614981c5ff8fa9738ca2fba90dfcabd80e054b1b5111e5bf439e62 height=2810012 version=8 log2_work=70.0675345724608150 tx=6589582 date=2021-04-18 07:36:45 progress=1.000000 cache=0.0MiB(189txo)
2021-04-18 07:36:46 UpdateTip: evodb_cache=0.0MiBProcessNewBlock : ACCEPTED Block 2810012 in 50 milliseconds with size=686
After
2021-04-18 08:01:07 UpdateTip: new best=afc6d575259aa012ce168872e788c7df8f683a475e30494bd5eccb03b7b32e1b height=2810042 version=8 log2_work=70.0675359284255421 tx=6589646 date=2021-04-18 08:00:45 progress=1.000000 cache=0.0MiB(5txo) evodb_cache=0.0MiB
2021-04-18 08:01:07 ProcessNewBlock : ACCEPTED Block 2810042 in 70 milliseconds with size=483