Avoid duplicating non-zero count message replay messages in the debug log

(cherry picked from commit 5d59863725)
This commit is contained in:
Peter Eckel 2019-02-11 13:54:17 +01:00 committed by Michael Friedrich
parent 12b0b9a936
commit 2a1a3726bf
1 changed files with 4 additions and 3 deletions

View File

@ -1250,9 +1250,10 @@ void ApiListener::ReplayLog(const JsonRpcConnection::Ptr& client)
Log(LogInformation, "ApiListener")
<< "Replayed " << count << " messages.";
}
else {
Log(LogNotice, "ApiListener")
<< "Replayed " << count << " messages.";
}
if (last_sync) {
{