Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #8597 from EOSIO/producer-plugin-log-dev
Browse files Browse the repository at this point in the history
Producer plugin log - develop
  • Loading branch information
arhag authored Feb 7, 2020
2 parents 68f6976 + 0a718ff commit 3b2be55
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1376,9 +1376,6 @@ producer_plugin_impl::start_block_result producer_plugin_impl::start_block() {
// Not our turn
const auto& scheduled_producer = hbs->get_scheduled_producer(block_time);

fc_dlog(_log, "Starting block #${n} at ${time} producer ${p}",
("n", hbs->block_num + 1)("time", now)("p", scheduled_producer.producer_name));

const auto current_watermark = get_watermark(scheduled_producer.producer_name);

size_t num_relevant_signatures = 0;
Expand Down Expand Up @@ -1449,7 +1446,8 @@ producer_plugin_impl::start_block_result producer_plugin_impl::start_block() {
return start_block_result::waiting_for_production;
}

fc_dlog(_log, "Starting block #${n} ${bt} at ${time}", ("n", hbs->block_num + 1)("bt", block_time)("time", now));
fc_dlog(_log, "Starting block #${n} at ${time} producer ${p}",
("n", hbs->block_num + 1)("time", now)("p", scheduled_producer.producer_name));

try {
uint16_t blocks_to_confirm = 0;
Expand Down

0 comments on commit 3b2be55

Please sign in to comment.