mirror of https://github.com/Icinga/icinga2.git
Config Sync: Only log config files for stage, no metadata
This commit is contained in:
parent
577e42e137
commit
db4cc13770
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue