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:
Michael Friedrich 2015-12-18 11:53:56 +01:00
parent 89d3050540
commit 79899d726a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }