]> git.ipfire.org Git - thirdparty/pdns.git/blobdiff - modules/goraclebackend/soracle.cc
Logging: have a global g_log
[thirdparty/pdns.git] / modules / goraclebackend / soracle.cc
index e5f4a8b93e0d28e83c1f5bc33a7a02aaa623dfc9..fdf01cacaf2b28472bcf3e50b4d306aa76fe1c61 100644 (file)
@@ -178,7 +178,7 @@ public:
     prepareStatement();
 
     if (d_dolog)
-      L<<Logger::Warning<<"Query: "<<d_query<<endl;
+      g_log<<Logger::Warning<<"Query: "<<d_query<<endl;
     ub2 fntype;
     ub4 iters;
 
@@ -496,7 +496,7 @@ SOracle::~SOracle()
   if (d_serviceContextHandle != NULL) {
     err=OCILogoff(d_serviceContextHandle, d_errorHandle);
     if (err) {
-      L<<Logger::Warning<<"Problems logging out: "+getOracleError()<<endl;
+      g_log<<Logger::Warning<<"Problems logging out: "+getOracleError()<<endl;
     }
   }