From 2e2de7c3409623d263751d5ec54fb1589ea4951a Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 10 Nov 2016 17:44:05 +0100 Subject: [PATCH] Enhance log messages for cluster config sync refs #11684 --- lib/remote/apilistener-configsync.cpp | 3 +++ lib/remote/apilistener-filesync.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/remote/apilistener-configsync.cpp b/lib/remote/apilistener-configsync.cpp index 22693541c..34c7d3e1e 100644 --- a/lib/remote/apilistener-configsync.cpp +++ b/lib/remote/apilistener-configsync.cpp @@ -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() << "'."; } diff --git a/lib/remote/apilistener-filesync.cpp b/lib/remote/apilistener-filesync.cpp index d262fefc3..571535687 100644 --- a/lib/remote/apilistener-filesync.cpp +++ b/lib/remote/apilistener-filesync.cpp @@ -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()); -- 2.40.0