mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 15:14:07 +02:00
Avoid duplicating non-zero count message replay messages in the debug log
This commit is contained in:
parent
501d807956
commit
5d59863725
@ -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…
x
Reference in New Issue
Block a user