]> granicus.if.org Git - icinga2/commitdiff
Add debug message.
authorGunnar Beutner <gunnar.beutner@netways.de>
Mon, 16 Sep 2013 09:06:21 +0000 (11:06 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Mon, 16 Sep 2013 09:06:21 +0000 (11:06 +0200)
components/cluster/clustercomponent.cpp

index e34833d595d04d5b32af32a5a7cd224bce3f6dd8..ee1fe23bfc3ecb88b30e3ceb2fdc435a45bb7bc4 100644 (file)
@@ -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"));