mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
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;
|
String path = stageConfigZoneDir + "/" + kv.first;
|
||||||
|
|
||||||
Log(LogInformation, "ApiListener")
|
if (Utility::Match("*.conf", path)) {
|
||||||
<< "Stage: Updating received configuration file '" << path << "' for zone '" << zoneName << "'.";
|
Log(LogInformation, "ApiListener")
|
||||||
|
<< "Stage: Updating received configuration file '" << path << "' for zone '" << zoneName << "'.";
|
||||||
|
}
|
||||||
|
|
||||||
// Sync string content only.
|
// Sync string content only.
|
||||||
String content = kv.second;
|
String content = kv.second;
|
||||||
@ -782,4 +784,4 @@ Dictionary::Ptr ApiListener::MergeConfigUpdate(const ConfigDirInformation& confi
|
|||||||
config.UpdateV2->CopyTo(result);
|
config.UpdateV2->CopyTo(result);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user