Skip to content

Commit

Permalink
Enhance log messages for cluster config sync
Browse files Browse the repository at this point in the history
refs #11684
  • Loading branch information
Michael Friedrich committed Nov 10, 2016
1 parent 72bf538 commit 2e2de7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/remote/apilistener-configsync.cpp
Expand Up @@ -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() << "'.";
}
2 changes: 1 addition & 1 deletion lib/remote/apilistener-filesync.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit 2e2de7c

Please sign in to comment.