From 5495b0279e5c9691a011f08e4a8d5c6e8b40ac0b Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 16 Sep 2013 11:06:21 +0200 Subject: [PATCH] Add debug message. --- components/cluster/clustercomponent.cpp | 2 ++ 1 file changed, 2 insertions(+) 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")); -- 2.40.0