Permalink
Browse files

raise log level on dlerror(), fixes #1734, thanks @James-TR

  • Loading branch information...
1 parent 13fbe89 commit 14b11c493eadb089c108f8a5118455d3814b7a88 @Habbie Habbie committed Sep 26, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 pdns/ueberbackend.cc
@@ -73,7 +73,7 @@ bool UeberBackend::loadmodule(const string &name)
void *dlib=dlopen(name.c_str(), RTLD_NOW);
if(dlib == NULL) {
- L<<Logger::Warning <<"Unable to load module '"<<name<<"': "<<dlerror() << endl;
+ L<<Logger::Error<<"Unable to load module '"<<name<<"': "<<dlerror() << endl;
if(name.find("gsqlite3")!=string::npos)
L<<Logger::Warning <<"Trying to load gsqlite3backend? Make sure pdns_server was compiled with sqlite3!" <<endl;
return false;

0 comments on commit 14b11c4

Please sign in to comment.