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

This commit is contained in:
Peter Eckel 2019-02-11 13:54:17 +01:00
parent 501d807956
commit 5d59863725
1 changed files with 4 additions and 3 deletions

View File

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