mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Avoid duplicating non-zero count message replay messages in the debug log
(cherry picked from commit 5d59863725ea843312fd89a9fc9e434187a56650)
This commit is contained in:
parent
12b0b9a936
commit
2a1a3726bf
@ -1250,9 +1250,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) {
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user