mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 16:44:29 +02:00
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")
|
||||
<< "Replayed " << count << " messages.";
|
||||
}
|
||||
|
||||
else {
|
||||
Log(LogNotice, "ApiListener")
|
||||
<< "Replayed " << count << " messages.";
|
||||
}
|
||||
|
||||
if (last_sync) {
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user