mirror of https://github.com/Icinga/icinga2.git
Merge pull request #6943 from peteeckel/bugfix/apilistener-duplicate-log-entries-6942
Avoid duplicating non-zero count message replay messages in the debug log
This commit is contained in:
commit
5180bb3a24
|
@ -1249,9 +1249,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