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

Improved election debug logs #516

Merged
merged 1 commit into from Aug 1, 2022
Merged

Commits on Jul 21, 2022

  1. Improved election debug logs

    When debugging elections in production you want to know what happened in
    a particular term in order to identify what went wrong.
    
    Add term= to all of the relevent debug logs
    
    You also want to know which peers were contacted (their ID and their
    address) and what the result from them was so you know why an election
    was not won in a timely manner
    
    Finally the log that just says "votes" in the message field seems
    strange; improve the message.
    Ben Buzbee committed Jul 21, 2022
    Copy the full SHA
    53f77c6 View commit details
    Browse the repository at this point in the history