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

trace history log messages should print nicely in syslog #9931

Merged
merged 1 commit into from
Jan 19, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions libraries/state_history/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ void state_history_log::recover_blocks(uint64_t size) {
break;
pos = pos + state_history_log_header_serial_size + header.payload_size + sizeof(suffix);
if (!(++num_found % 10000)) {
printf("%10u blocks found, log pos=%12llu\r", (unsigned)num_found, (unsigned long long)pos);
fflush(stdout);
dlog("${num_found} blocks found, log pos = ${pos}", ("num_found", num_found)("pos", pos));
}
}
read_log.flush();
Expand Down