]> granicus.if.org Git - icinga2/commitdiff
Change log level for authoritative zone config includes
authorMichael Friedrich <michael.friedrich@netways.de>
Fri, 18 Dec 2015 10:53:56 +0000 (11:53 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Fri, 18 Dec 2015 10:53:56 +0000 (11:53 +0100)
LogWarning will make users wonder about a problem each time
Icinga 2 starts.

refs #10819

lib/cli/daemonutility.cpp

index 26d37c78570d4184c4d1eca5098b73d119df4739..d1a834e0dc4d404faab449a369ab4d7d6634b3f1 100644 (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)
         */
        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.";
                return;
        }