From 5a4fa6965031332e91f1c73ed2b3826547f725fe Mon Sep 17 00:00:00 2001 From: Mattia Codato Date: Wed, 29 Jul 2020 08:43:30 +0200 Subject: [PATCH] Fix logs --- lib/icinga/clusterevents.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/icinga/clusterevents.cpp b/lib/icinga/clusterevents.cpp index 4e453257f..4d8783a39 100644 --- a/lib/icinga/clusterevents.cpp +++ b/lib/icinga/clusterevents.cpp @@ -989,7 +989,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin, if (!params->Contains("execution")) { Log(LogNotice, "ClusterEvents") << "Discarding 'update executions API handler' message for checkable '" << checkable->GetName() - << "' from '" << origin->FromClient->GetIdentity() << "': Execution UUID not found."; + << "' from '" << origin->FromClient->GetIdentity() << "': Execution UUID missing."; return Empty; } String uuid = params->Get("execution"); @@ -998,7 +998,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin, if (!executions) { Log(LogNotice, "ClusterEvents") << "Discarding 'update executions API handler' message for checkable '" << checkable->GetName() - << "' from '" << origin->FromClient->GetIdentity() << "': No executions available."; + << "' from '" << origin->FromClient->GetIdentity() << "': Execution '" << uuid << "' missing."; return Empty; } @@ -1006,7 +1006,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin, if (!execution) { Log(LogNotice, "ClusterEvents") << "Discarding 'update executions API handler' message for checkable '" << checkable->GetName() - << "' from '" << origin->FromClient->GetIdentity() << "': Execution '" << uuid << "' not found."; + << "' from '" << origin->FromClient->GetIdentity() << "': Execution '" << uuid << "' missing."; return Empty; }