Skip to content

Commit 14b11c4

Browse files
author
Peter van Dijk
committed
raise log level on dlerror(), fixes #1734, thanks @James-TR
1 parent 13fbe89 commit 14b11c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdns/ueberbackend.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ bool UeberBackend::loadmodule(const string &name)
7373
void *dlib=dlopen(name.c_str(), RTLD_NOW);
7474

7575
if(dlib == NULL) {
76-
L<<Logger::Warning <<"Unable to load module '"<<name<<"': "<<dlerror() << endl;
76+
L<<Logger::Error<<"Unable to load module '"<<name<<"': "<<dlerror() << endl;
7777
if(name.find("gsqlite3")!=string::npos)
7878
L<<Logger::Warning <<"Trying to load gsqlite3backend? Make sure pdns_server was compiled with sqlite3!" <<endl;
7979
return false;

0 commit comments

Comments
 (0)