projects
/
icinga2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
501d807
)
Avoid duplicating non-zero count message replay messages in the debug log
6943/head
author
Peter Eckel
<pe-git@hindenburgring.com>
Mon, 11 Feb 2019 12:54:17 +0000
(13:54 +0100)
committer
Peter Eckel
<pe-git@hindenburgring.com>
Mon, 11 Feb 2019 12:54:17 +0000
(13:54 +0100)
lib/remote/apilistener.cpp
patch
|
blob
|
history
diff --git
a/lib/remote/apilistener.cpp
b/lib/remote/apilistener.cpp
index 9596b76ac42ec5f13aed4f9f72e27a6bbbf7ca29..118882e3556f205316e5ef6175b8aa93d385ed4c 100644
(file)
--- a/
lib/remote/apilistener.cpp
+++ b/
lib/remote/apilistener.cpp
@@
-1249,9
+1249,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) {
{