Skip to content

Commit

Permalink
GH-8 Update log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Apr 23, 2024
1 parent 914f117 commit 56ea22e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -647,14 +647,14 @@ class producer_plugin_impl : public std::enable_shared_from_this<producer_plugin
if (!votes[i] && !check_weak(qc._weak_votes, i)) {
not_voted.push_back(finalizers[i].description);
if (_finalizers.contains(finalizers[i].public_key)) {
fc_wlog(vote_logger, "Block ${n}:${id} has no votes from our finalizer: ${v}",
("n", block->block_num())("id", id.str().substr(8,16))("v", finalizers[i].description));
fc_wlog(vote_logger, "Local finalizer ${f} did not vote on block ${n}:${id}",
("f", finalizers[i].description)("n", block->block_num())("id", id.str().substr(8,16)));
}
}
}
}
if (!not_voted.empty()) {
fc_ilog(vote_logger, "Block ${n}:${id} has no votes for: ${v}",
fc_ilog(vote_logger, "Block ${n}:${id} has no votes from finalizers: ${v}",
("n", block->block_num())("id", id.str().substr(8,16))("v", not_voted));
}
}
Expand Down

0 comments on commit 56ea22e

Please sign in to comment.