RecursorControlParser rcp;
RecursorControlParser::func_t* command;
- g_log << Logger::Notice << "Received rec_control command '" << msg << "' from control socket" << endl;
+ g_log << Logger::Info << "Received rec_control command '" << msg << "' from control socket" << endl;
auto answer = rcp.getAnswer(fd, msg, &command);
// If we are inside a chroot, we need to strip
g_log<<Logger::Warning<<endl;
}
- g_quiet=::arg().mustDo("quiet");
-
/* this needs to be done before parseACLs(), which call broadcastFunction() */
g_weDistributeQueries = ::arg().mustDo("pdns-distributes-queries");
if(g_weDistributeQueries) {
g_recCache = std::unique_ptr<MemRecursorCache>(new MemRecursorCache(::arg().asNum("record-cache-shards")));
g_negCache = std::unique_ptr<NegCache>(new NegCache(::arg().asNum("record-cache-shards")));
+ g_quiet=::arg().mustDo("quiet");
Logger::Urgency logUrgency = (Logger::Urgency)::arg().asNum("loglevel");
if (logUrgency < Logger::Error)
g_log<<Logger::Notice<<"Refreshed . records"<<endl;
}
else
- g_log<<Logger::Error<<"Failed to update . records, RCODE="<<res<<endl;
+ g_log<<Logger::Warning<<"Failed to update . records, RCODE="<<res<<endl;
return res;
}