mirror of https://github.com/Icinga/icinga2.git
Fix logs
This commit is contained in:
parent
1e59810ddd
commit
5a4fa69650
|
@ -989,7 +989,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin,
|
||||||
if (!params->Contains("execution")) {
|
if (!params->Contains("execution")) {
|
||||||
Log(LogNotice, "ClusterEvents")
|
Log(LogNotice, "ClusterEvents")
|
||||||
<< "Discarding 'update executions API handler' message for checkable '" << checkable->GetName()
|
<< "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;
|
return Empty;
|
||||||
}
|
}
|
||||||
String uuid = params->Get("execution");
|
String uuid = params->Get("execution");
|
||||||
|
@ -998,7 +998,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin,
|
||||||
if (!executions) {
|
if (!executions) {
|
||||||
Log(LogNotice, "ClusterEvents")
|
Log(LogNotice, "ClusterEvents")
|
||||||
<< "Discarding 'update executions API handler' message for checkable '" << checkable->GetName()
|
<< "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;
|
return Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1006,7 +1006,7 @@ Value ClusterEvents::ExecutedCommandAPIHandler(const MessageOrigin::Ptr& origin,
|
||||||
if (!execution) {
|
if (!execution) {
|
||||||
Log(LogNotice, "ClusterEvents")
|
Log(LogNotice, "ClusterEvents")
|
||||||
<< "Discarding 'update executions API handler' message for checkable '" << checkable->GetName()
|
<< "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;
|
return Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue