- 
                Notifications
    You must be signed in to change notification settings 
- Fork 168
Improve logs #1104
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
Improve logs #1104
Conversation
| then do | ||
| liftIO . logWarning tracer $ mconcat | ||
| [ "validateEpochRewards: rewards spendable in epoch " | ||
| [ "Validate Epoch Rewards: rewards spendable in epoch " | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is not actually an improvement. validateEpochRewards is the function name.
| case eraName of | ||
| Generic.Shelley -> "insertShelleyBlock" | ||
| other -> mconcat [ "insertShelleyBlock(", textShow other, ")" ] | ||
| mconcat ["Insert ", textShow eraName, " Block"] | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We want the fucntion name not just Insert.
| { icAddressCache :: !(Map StakeCred DB.StakeAddressId) | ||
| , icPoolCache :: !(Map StakePoolKeyHash DB.PoolHashId) | ||
| } | ||
|  | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this change have to do with improving the logs?
| @kderme If you want to rebase this branch, the easiest way to do so is to check out  | 
| This PR is redundant. | 
Follow up to #1094