mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
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
48fe703017
commit
2f8d416da0
@ -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…
x
Reference in New Issue
Block a user