mirror of https://github.com/Icinga/icinga2.git
Avoid duplicating non-zero count message replay messages in the debug log
(cherry picked from commit 5d59863725
)
This commit is contained in:
parent
12b0b9a936
commit
2a1a3726bf
|
@ -1250,9 +1250,10 @@ void ApiListener::ReplayLog(const JsonRpcConnection::Ptr& client)
|
||||||
Log(LogInformation, "ApiListener")
|
Log(LogInformation, "ApiListener")
|
||||||
<< "Replayed " << count << " messages.";
|
<< "Replayed " << count << " messages.";
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
Log(LogNotice, "ApiListener")
|
Log(LogNotice, "ApiListener")
|
||||||
<< "Replayed " << count << " messages.";
|
<< "Replayed " << count << " messages.";
|
||||||
|
}
|
||||||
|
|
||||||
if (last_sync) {
|
if (last_sync) {
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue