Config Sync: Only log config files for stage, no metadata

This commit is contained in:
Michael Friedrich 2019-06-19 16:09:16 +02:00
parent 577e42e137
commit db4cc13770
1 changed files with 5 additions and 3 deletions

View File

@ -447,8 +447,10 @@ Value ApiListener::ConfigUpdateHandler(const MessageOrigin::Ptr& origin, const D
String path = stageConfigZoneDir + "/" + kv.first;
Log(LogInformation, "ApiListener")
<< "Stage: Updating received configuration file '" << path << "' for zone '" << zoneName << "'.";
if (Utility::Match("*.conf", path)) {
Log(LogInformation, "ApiListener")
<< "Stage: Updating received configuration file '" << path << "' for zone '" << zoneName << "'.";
}
// Sync string content only.
String content = kv.second;
@ -782,4 +784,4 @@ Dictionary::Ptr ApiListener::MergeConfigUpdate(const ConfigDirInformation& confi
config.UpdateV2->CopyTo(result);
return result;
}
}