Enhance log messages for cluster config sync

refs #11684
This commit is contained in:
Michael Friedrich 2016-11-10 17:44:05 +01:00
parent 72bf538c29
commit 2e2de7c340
2 changed files with 4 additions and 1 deletions

View File

@ -429,4 +429,7 @@ void ApiListener::SendRuntimeConfigObjects(const JsonRpcConnection::Ptr& aclient
UpdateConfigObject(object, MessageOrigin::Ptr(), aclient);
}
}
Log(LogInformation, "ApiListener")
<< "Finished syncing runtime objects to endpoint '" << endpoint->GetName() << "'.";
}

View File

@ -228,7 +228,7 @@ void ApiListener::SendConfigUpdate(const JsonRpcConnection::Ptr& aclient)
continue;
Log(LogInformation, "ApiListener")
<< "Syncing " << (zone->IsGlobal() ? "global " : "")
<< "Syncing configuration files for " << (zone->IsGlobal() ? "global " : "")
<< "zone '" << zone->GetName() << "' to endpoint '" << endpoint->GetName() << "'.";
ConfigDirInformation config = LoadConfigDir(zonesDir + "/" + zone->GetName());