mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +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;
|
||||
|
||||
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…
x
Reference in New Issue
Block a user