From: bert hubert Date: Thu, 22 Jan 2015 10:25:44 +0000 (+0100) Subject: make sure pdnssec emits error messages about inability to load a backend, and not... X-Git-Tag: rec-3.7.0-rc2~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38392ad7b823b12323e1b570a43143ffcffef5f3;p=pdns make sure pdnssec emits error messages about inability to load a backend, and not die silently --- diff --git a/pdns/pdnssec.cc b/pdns/pdnssec.cc index a87ac1d97..221eeef46 100644 --- a/pdns/pdnssec.cc +++ b/pdns/pdnssec.cc @@ -143,9 +143,9 @@ void loadMainConfig(const std::string& configdir) ::arg().set("max-signature-cache-entries", "Maximum number of signatures cache entries")=""; ::arg().laxFile(configname.c_str()); - L.toConsole((Logger::Urgency)(::arg().asNum("loglevel"))); - + L.toConsole(Logger::Error); // so we print any errors BackendMakers().launch(::arg()["launch"]); // vrooooom! + L.toConsole((Logger::Urgency)(::arg().asNum("loglevel"))); ::arg().laxFile(configname.c_str()); //cerr<<"Backend: "<<::arg()["launch"]<<", '" << ::arg()["gmysql-dbname"] <<"'" <