mirror of https://github.com/Icinga/icinga2.git
parent
72bf538c29
commit
2e2de7c340
|
@ -429,4 +429,7 @@ void ApiListener::SendRuntimeConfigObjects(const JsonRpcConnection::Ptr& aclient
|
||||||
UpdateConfigObject(object, MessageOrigin::Ptr(), aclient);
|
UpdateConfigObject(object, MessageOrigin::Ptr(), aclient);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Log(LogInformation, "ApiListener")
|
||||||
|
<< "Finished syncing runtime objects to endpoint '" << endpoint->GetName() << "'.";
|
||||||
}
|
}
|
||||||
|
|
|
@ -228,7 +228,7 @@ void ApiListener::SendConfigUpdate(const JsonRpcConnection::Ptr& aclient)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Log(LogInformation, "ApiListener")
|
Log(LogInformation, "ApiListener")
|
||||||
<< "Syncing " << (zone->IsGlobal() ? "global " : "")
|
<< "Syncing configuration files for " << (zone->IsGlobal() ? "global " : "")
|
||||||
<< "zone '" << zone->GetName() << "' to endpoint '" << endpoint->GetName() << "'.";
|
<< "zone '" << zone->GetName() << "' to endpoint '" << endpoint->GetName() << "'.";
|
||||||
|
|
||||||
ConfigDirInformation config = LoadConfigDir(zonesDir + "/" + zone->GetName());
|
ConfigDirInformation config = LoadConfigDir(zonesDir + "/" + zone->GetName());
|
||||||
|
|
Loading…
Reference in New Issue