Index: configure
--- configure.orig	2006-03-15 19:29:56 +0100
+++ configure	2007-02-16 09:06:21 +0100
@@ -21663,7 +21663,7 @@
 
 
 
-modules="gmysql geo"
+modules="geo"
 
 # Check whether --with-modules or --without-modules was given.
 if test "${with_modules+set}" = set; then
Index: pdns/backends/bind/bindbackend2.cc
--- pdns/backends/bind/bindbackend2.cc.orig	2006-03-15 19:29:38 +0100
+++ pdns/backends/bind/bindbackend2.cc	2007-02-16 09:06:21 +0100
@@ -41,8 +41,21 @@
 #include "misc.hh"
 #include "dynlistener.hh"
 #include "lock.hh"
+
+#undef L
+#define L ::bind2Log()
+
 using namespace std;
 
+
+// use own logger across corresponding classes
+// to properly identify log text from Bind2Backend
+Logger &bind2Log(void)
+{
+  static Logger lbind2("bind2be");
+  return lbind2;
+}
+
 /** new scheme of things:
     we have zone-id map
     a zone-id has a vector of DNSResourceRecords 
Index: pdns/backends/gsql/gsqlbackend.cc
--- pdns/backends/gsql/gsqlbackend.cc.orig	2006-03-15 19:29:38 +0100
+++ pdns/backends/gsql/gsqlbackend.cc	2007-02-16 09:06:21 +0100
@@ -19,6 +19,18 @@
 
 #include <sstream>
 
+#undef L
+#define L ::gsqlLog()
+
+
+// use own logger across corresponding classes
+// to properly identify log text from GSQLBackend
+Logger &gsqlLog(void)
+{
+  static Logger lgsql("gsql");
+  return lgsql;
+}
+
 void GSQLBackend::setNotified(uint32_t domain_id, uint32_t serial)
 {
   char output[1024];
Index: pdns/randombackend.cc
--- pdns/randombackend.cc.orig	2006-03-15 19:29:38 +0100
+++ pdns/randombackend.cc	2007-02-16 09:06:21 +0100
@@ -24,6 +24,18 @@
 #include "ahuexception.hh"
 #include "logger.hh"
 
+#undef L
+#define L ::randLog()
+
+
+// use own logger across corresponding classes
+// to properly identify log text from RandomBackend
+Logger &randLog(void)
+{
+  static Logger lrand("randbe");
+  return lrand;
+}
+
 /* FIRST PART */
 class RandomBackend : public DNSBackend
 {
