}
catch (const std::exception& e) {
SLOG(g_log << Logger::Error << "Unable to load RPZ zone from '" << filename << "': " << e.what() << endl,
- log->error(Logr::Error, e.what(), "Exception while loadinf RPZ zone from file"));
+ log->error(Logr::Error, e.what(), "Exception while loading RPZ zone from file"));
}
});
return ret;
}
catch (FDMultiplexerException& fe) {
- SLOG(g_log << Logger::Error << "Non-fatal error initializing possible multiplexer (" << fe.what() << "), falling back" << endl,
- log->error(Logr::Error, fe.what(), "Non-fatal error initializing possible multiplexer, falling back"));
+ SLOG(g_log << Logger::Warning << "Non-fatal error initializing possible multiplexer (" << fe.what() << "), falling back" << endl,
+ log->error(Logr::Warning, fe.what(), "Non-fatal error initializing possible multiplexer, falling back"));
}
catch (...) {
- SLOG(g_log << Logger::Error << "Non-fatal error initializing possible multiplexer" << endl,
- log->info(Logr::Error, "Non-fatal error initializing possible multiplexer"));
+ SLOG(g_log << Logger::Warning << "Non-fatal error initializing possible multiplexer" << endl,
+ log->info(Logr::Warning, "Non-fatal error initializing possible multiplexer"));
}
}
SLOG(g_log << Logger::Error << "No working multiplexer found!" << endl,
// headers.first=toCanonic("", headers.first);
if (n == 0) {
ad.d_rdForward = false;
- SLOG(g_log << Logger::Error << "Parsing authoritative data for zone '" << headers.first << "' from file '" << headers.second << "'" << endl,
- log->info(Logr::Error, "Parsing authoritative data from file", "zone", Logging::Loggable(headers.first), "file", Logging::Loggable(headers.second)));
+ SLOG(g_log << Logger::Notice << "Parsing authoritative data for zone '" << headers.first << "' from file '" << headers.second << "'" << endl,
+ log->info(Logr::Notice, "Parsing authoritative data from file", "zone", Logging::Loggable(headers.first), "file", Logging::Loggable(headers.second)));
ZoneParserTNG zpt(headers.second, DNSName(headers.first));
zpt.setMaxGenerateSteps(::arg().asNum("max-generate-steps"));
zpt.setMaxIncludes(::arg().asNum("max-include-depth"));