Add debug message.

This commit is contained in:
Gunnar Beutner 2013-09-16 11:06:21 +02:00
parent e383a3cc3e
commit 5495b0279e
1 changed files with 2 additions and 0 deletions

View 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"));