From: Gunnar Beutner Date: Mon, 16 Sep 2013 09:06:21 +0000 (+0200) Subject: Add debug message. X-Git-Tag: v0.0.3~504 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5495b0279e5c9691a011f08e4a8d5c6e8b40ac0b;p=icinga2 Add debug message. --- diff --git a/components/cluster/clustercomponent.cpp b/components/cluster/clustercomponent.cpp index e34833d59..ee1fe23bf 100644 --- a/components/cluster/clustercomponent.cpp +++ b/components/cluster/clustercomponent.cpp @@ -1203,6 +1203,8 @@ bool ClusterComponent::IsAuthority(const DynamicObject::Ptr& object, const Strin void ClusterComponent::UpdateAuthority(void) { + Log(LogInformation, "cluster", "Updating authority for objects."); + BOOST_FOREACH(const DynamicType::Ptr& type, DynamicType::GetTypes()) { BOOST_FOREACH(const DynamicObject::Ptr& object, type->GetObjects()) { object->SetAuthority("checker", IsAuthority(object, "checker"));