mirror of https://github.com/Icinga/icinga2.git
Change log level for authoritative zone config includes
LogWarning will make users wonder about a problem each time Icinga 2 starts. refs #10819
This commit is contained in:
parent
89d3050540
commit
79899d726a
|
@ -69,7 +69,7 @@ static void IncludeNonLocalZone(const String& zonePath, const String& package, b
|
||||||
* from zones.d in etc or api package directory, or a local marker file)
|
* from zones.d in etc or api package directory, or a local marker file)
|
||||||
*/
|
*/
|
||||||
if (ConfigCompiler::HasZoneConfigAuthority(zoneName) || Utility::PathExists(zonePath + "/.authoritative")) {
|
if (ConfigCompiler::HasZoneConfigAuthority(zoneName) || Utility::PathExists(zonePath + "/.authoritative")) {
|
||||||
Log(LogWarning, "config")
|
Log(LogNotice, "config")
|
||||||
<< "Ignoring non local config include for zone '" << zoneName << "': We already have an authoritative copy included.";
|
<< "Ignoring non local config include for zone '" << zoneName << "': We already have an authoritative copy included.";
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue