BIND 10 bind10-20110705-release, updated. a682d8bb52f8ddfdf5631d39d524dd6c4f1dbec0 [bind10-20110705-release] add changelog entry for dummy dhcp

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jul 5 16:58:46 UTC 2011


The branch, bind10-20110705-release has been updated
  discards  f2ac3183298c8efc1f78898f12f00be4828b1bd1 (commit)
  discards  baf3d8783ad1bc05bbe4db507325e9bfcd8d9be9 (commit)
  discards  f9045d39a58a9b9287f3ece1022391a3b07e88d3 (commit)
  discards  e39dbc26a1aaecdff6809be620a91d4771e5af9b (commit)
  discards  88c4d5e241d0dd670eca6f9a4981439a08924704 (commit)
  discards  2e8473390d5dd2274aedd59ba3934c597f94b04a (commit)
  discards  05164f9d61006869233b498d248486b4307ea8b6 (commit)
  discards  bfcd0225fe669dde479dde1146612f7c067a817f (commit)
  discards  2c936393a16d79fa3d4bbbdacc66884f7d8d3cb9 (commit)
  discards  3383b56081364d68de8c29fb34698a7651c50e05 (commit)
  discards  b60e7347e2b97d913b386b82b682c8c7ae2e3d4e (commit)
  discards  e3d273a6048b48b7b39d55087d3a6b7ca0a623eb (commit)
  discards  95e0a157b2ae5a4027c06b7bb1aec04f9eb883fd (commit)
  discards  cdadcd5d6a6bd594fdbcb9efe628067879623df6 (commit)
  discards  258663014324e165ea95d581498268915d176141 (commit)
  discards  4d81613695a03b3d39adb5b54822dc1a07a37af0 (commit)
  discards  af1dbc5024d5b3289841868ee49929ba4f4d3f50 (commit)
  discards  03d707719016e3d3a6d98b3fb9eb786c90df69ec (commit)
  discards  ec45081d781ae19de834b11e000acc35415a8f30 (commit)
  discards  ee8c5f5bee062c8943e955184146d839c05bd2da (commit)
  discards  9ef0e6eeb1ec8477b1f6867d118d4c599f41c0ae (commit)
  discards  05c064b4bd3ea51553a34e37099aa1053c141060 (commit)
  discards  1eb10de8b47aaab24b48cb0e109cf2a3bbc22860 (commit)
  discards  690a04dcd63dce08a69e648223320e922f82b3d6 (commit)
  discards  1b11baa7c10783eb9d53c24c7f1deb1c0a424105 (commit)
  discards  e3ef2529a0582f0b146ea7326cf2d52312149cf9 (commit)
  discards  d191035ad012bc481ce0a4545f9b6819b897a04e (commit)
  discards  dadf18e8c050ad6a5977fa32d563f31de99d3ac7 (commit)
  discards  3caca9f8debed45019acb731b5ef2f55a3479ee4 (commit)
  discards  3bbdd1e7d3f89b3a281900c75ceb0830d0cfd7d3 (commit)
  discards  f5ae2264a57664aa6ab307865db72f1f740b80c7 (commit)
  discards  0a836aa297d08b3c375d245f50971cf4cf2760e7 (commit)
  discards  f7af58ec51254d0586ee20ebfae4bd0f8977ed48 (commit)
  discards  534acaf92fd8ba43488be7057d7a35623dcab0a9 (commit)
  discards  ebe5d465d2995899aa3f95c944e0d32d09ec2034 (commit)
  discards  3f599b883384e9f180f12b06d704ef098e948c8e (commit)
  discards  348387b8fa68c25873b4ee50881738c9c0e83670 (commit)
  discards  cae4ced00386d042535ec9b53b20e9bbc2cdaa20 (commit)
  discards  ebc5206327363f747822e7344037d9c2b76b8cd9 (commit)
  discards  9e72b16bcbfcdc819cbdc437feb10f73b1694107 (commit)
  discards  4355e75c9f82ea797d9353e82fd4d7c445c9e5c2 (commit)
  discards  dfd7a01376d7b871cf7dfe631f5c96b4b2b7767b (commit)
  discards  ca03a1f5156b0a68a2179e287d9af444c64aee91 (commit)
  discards  7e41b9c3e2e1ca809ed4ea6de67c843a1a0d7680 (commit)
  discards  4b83a53a37e3fa53a01ca0a6b4c9f7846a64bc5e (commit)
  discards  839d23249ae0d1722b51d87195b92cad40e6d78c (commit)
  discards  4dc1b4bf31b25256bac76baca6e8af71e11cc83a (commit)
  discards  af6b421d426357550e818d6fee79dd559382ae46 (commit)
  discards  b9ad6d4babd3e10f1c13140e53d60181681a5def (commit)
  discards  d137040ad98f7203cd440ca8b449a84f048af6fd (commit)
  discards  440524d524bde6ea17ec64b427e259f3bd08757a (commit)
  discards  cb737e68ceac8238844fe2b8b9bc7feea23b4004 (commit)
  discards  6b48fd891428674ecf5eaaa083bcf5b843deabc5 (commit)
  discards  a98a90d8c392ed3bd0ab51d644568cf560574112 (commit)
  discards  421d19914af7d7a6f886c1bce084324ce9407b99 (commit)

This update discarded existing revisions and left the branch pointing at
a previous point in the repository history.

 * -- * -- N (a682d8bb52f8ddfdf5631d39d524dd6c4f1dbec0)
            \
             O -- O -- O (f2ac3183298c8efc1f78898f12f00be4828b1bd1)

The removed revisions are not necessarilly gone - if another reference
still refers to them they will stay in the repository.

No new revisions were added by this update.

Summary of changes:
 ChangeLog                                        |    5 -
 configure.ac                                     |    4 +-
 src/bin/bind10/Makefile.am                       |    8 +-
 src/bin/bind10/bind10.py.in                      |  135 ++++++++++---------
 src/bin/bind10/bind10_messages.mes               |  157 ----------------------
 src/bin/cmdctl/Makefile.am                       |   10 +-
 src/bin/cmdctl/cmdctl.py.in                      |   59 ++++-----
 src/bin/cmdctl/cmdctl_messages.mes               |   81 -----------
 src/bin/cmdctl/tests/cmdctl_test.py              |    4 +-
 src/bin/resolver/Makefile.am                     |    2 -
 src/lib/cc/data.cc                               |    4 +-
 src/lib/cc/tests/data_unittests.cc               |   15 --
 src/lib/datasrc/data_source.cc                   |    2 +-
 src/lib/log/README                               |  115 ++--------------
 src/lib/log/log_formatter.h                      |    3 +-
 src/lib/log/logger_support.cc                    |   78 +-----------
 src/lib/log/logger_support.h                     |   19 +--
 src/lib/log/tests/Makefile.am                    |   15 +--
 src/lib/log/tests/console_test.sh.in             |    2 +
 src/lib/log/tests/destination_test.sh.in         |    5 +-
 src/lib/log/tests/init_logger_test.cc            |   42 ------
 src/lib/log/tests/init_logger_test.sh.in         |  110 ---------------
 src/lib/log/tests/local_file_test.sh.in          |    2 +
 src/lib/log/tests/severity_test.sh.in            |    6 +-
 src/lib/python/isc/cc/message.py                 |    2 +-
 src/lib/python/isc/cc/session.py                 |   37 ++----
 src/lib/python/isc/cc/tests/message_test.py      |    5 -
 src/lib/python/isc/cc/tests/session_test.py      |   10 --
 src/lib/python/isc/config/cfgmgr.py              |    3 -
 src/lib/python/isc/config/cfgmgr_messages.mes    |    7 -
 src/lib/python/isc/log/Makefile.am               |    9 --
 src/lib/server_common/Makefile.am                |   10 +--
 src/lib/server_common/keyring.cc                 |    4 -
 src/lib/server_common/logger.cc                  |   23 ---
 src/lib/server_common/logger.h                   |   44 ------
 src/lib/server_common/portconfig.cc              |   21 +--
 src/lib/server_common/server_common_messages.mes |   73 ----------
 src/lib/server_common/tests/Makefile.am          |    1 -
 src/lib/server_common/tests/run_unittests.cc     |    3 -
 39 files changed, 159 insertions(+), 976 deletions(-)
 delete mode 100644 src/bin/bind10/bind10_messages.mes
 delete mode 100644 src/bin/cmdctl/cmdctl_messages.mes
 delete mode 100644 src/lib/log/tests/init_logger_test.cc
 delete mode 100755 src/lib/log/tests/init_logger_test.sh.in
 delete mode 100644 src/lib/server_common/logger.cc
 delete mode 100644 src/lib/server_common/logger.h
 delete mode 100644 src/lib/server_common/server_common_messages.mes

-----------------------------------------------------------------------
diff --git a/ChangeLog b/ChangeLog
index 0aee22a..d03aa06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,3 @@
-268.	[func]		stephen
-	Add environment variable to allow redirection of logging output during
-	unit tests.
-	(Trac #1071, git 05164f9d61006869233b498d248486b4307ea8b6)
-
 267.	[func]		tomek
 	Added a dummy module for DHCP6. This module does not actually
 	do anything at this point, and BIND 10 has no option for
diff --git a/configure.ac b/configure.ac
index 0ca5fff..dcedf95 100644
--- a/configure.ac
+++ b/configure.ac
@@ -920,7 +920,6 @@ AC_OUTPUT([doc/version.ent
            src/lib/cc/tests/session_unittests_config.h
            src/lib/log/tests/console_test.sh
            src/lib/log/tests/destination_test.sh
-           src/lib/log/tests/init_logger_test.sh
            src/lib/log/tests/local_file_test.sh
            src/lib/log/tests/severity_test.sh
            src/lib/log/tests/tempdir.h
@@ -950,10 +949,9 @@ AC_OUTPUT([doc/version.ent
            chmod +x src/bin/msgq/tests/msgq_test
            chmod +x src/lib/dns/gen-rdatacode.py
            chmod +x src/lib/dns/tests/testdata/gen-wiredata.py
+           chmod +x src/lib/log/tests/local_file_test.sh
            chmod +x src/lib/log/tests/console_test.sh
            chmod +x src/lib/log/tests/destination_test.sh
-           chmod +x src/lib/log/tests/init_logger_test.sh
-           chmod +x src/lib/log/tests/local_file_test.sh
            chmod +x src/lib/log/tests/severity_test.sh
            chmod +x src/lib/util/python/mkpywrapper.py
            chmod +x src/lib/python/isc/log/tests/log_console.py
diff --git a/src/bin/bind10/Makefile.am b/src/bin/bind10/Makefile.am
index 126c429..cca4a53 100644
--- a/src/bin/bind10/Makefile.am
+++ b/src/bin/bind10/Makefile.am
@@ -1,17 +1,16 @@
 SUBDIRS = . tests
 
 sbin_SCRIPTS = bind10
-CLEANFILES = bind10 bind10.pyc bind10_messages.py bind10_messages.pyc
+CLEANFILES = bind10 bind10.pyc
 
 pkglibexecdir = $(libexecdir)/@PACKAGE@
-pyexec_DATA = bind10_messages.py
 
 bind10dir = $(pkgdatadir)
 bind10_DATA = bob.spec
 EXTRA_DIST = bob.spec
 
 man_MANS = bind10.8
-EXTRA_DIST += $(man_MANS) bind10.xml bind10_messages.mes
+EXTRA_DIST += $(man_MANS) bind10.xml
 
 if ENABLE_MAN
 
@@ -20,9 +19,6 @@ bind10.8: bind10.xml
 
 endif
 
-bind10_messages.py: bind10_messages.mes
-	$(top_builddir)/src/lib/log/compiler/message -p $(top_srcdir)/src/bin/bind10/bind10_messages.mes
-
 # this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
 bind10: bind10.py
 	$(SED) -e "s|@@PYTHONPATH@@|@pyexecdir@|" \
diff --git a/src/bin/bind10/bind10.py.in b/src/bin/bind10/bind10.py.in
index 6e4997d..48d641d 100755
--- a/src/bin/bind10/bind10.py.in
+++ b/src/bin/bind10/bind10.py.in
@@ -65,16 +65,6 @@ import posix
 import isc.cc
 import isc.util.process
 import isc.net.parse
-import isc.log
-from bind10_messages import *
-
-isc.log.init("b10-boss")
-logger = isc.log.Logger("boss")
-
-# Pending system-wide debug level definitions, the ones we
-# use here are hardcoded for now
-DBG_PROCESS = 10
-DBG_COMMANDS = 30
 
 # Assign this process some longer name
 isc.util.process.rename(sys.argv[0])
@@ -262,7 +252,8 @@ class BoB:
             if new_config['start_' + name]:
                 if not started:
                     if self.uid is not None:
-                        logger.info(BIND10_START_AS_NON_ROOT, name)
+                        sys.stderr.write("[bind10] Starting " + name + " as " +
+                            "a user, not root. This might fail.\n")
                     start()
             else:
                 stop()
@@ -288,8 +279,9 @@ class BoB:
             self.started_auth_family = False
 
         # The real code of the config handler function follows here
-        logger.debug(DBG_COMMANDS, BIND10_RECEIVED_NEW_CONFIGURATION,
-                     new_config)
+        if self.verbose:
+            sys.stdout.write("[bind10] Handling new configuration: " +
+                str(new_config) + "\n")
         start_stop('resolver', self.started_resolver_family, resolver_on,
             resolver_off)
         start_stop('auth', self.started_auth_family, auth_on, auth_off)
@@ -306,7 +298,8 @@ class BoB:
         return process_list
 
     def command_handler(self, command, args):
-        logger.debug(DBG_COMMANDS, BIND10_RECEIVED_COMMAND, command)
+        if self.verbose:
+            sys.stdout.write("[bind10] Boss got command: " + str(command) + "\n")
         answer = isc.config.ccsession.create_answer(1, "command not implemented")
         if type(command) != str:
             answer = isc.config.ccsession.create_answer(1, "bad command")
@@ -339,10 +332,12 @@ class BoB:
             start, this runs through the list of started processes, killing
             each one.  It then clears that list.
         """
-        logger.info(BIND10_KILLING_ALL_PROCESSES)
+        if self.verbose:
+            sys.stdout.write("[bind10] killing started processes:\n")
 
         for pid in self.processes:
-            logger.info(BIND10_KILL_PROCESS, self.processes[pid].name)
+            if self.verbose:
+                sys.stdout.write("[bind10] - %s\n" % self.processes[pid].name)
             self.processes[pid].process.kill()
         self.processes = {}
 
@@ -356,20 +351,23 @@ class BoB:
             xfrin/xfrout and zone manager as we don't need to start those if we
             are not running the authoritative server.)
         """
-        logger.info(BIND10_READING_BOSS_CONFIGURATION)
+        if self.verbose:
+            sys.stdout.write("[bind10] Reading Boss configuration:\n")
 
         config_data = self.ccs.get_full_config()
         self.cfg_start_auth = config_data.get("start_auth")
         self.cfg_start_resolver = config_data.get("start_resolver")
 
-        logger.info(BIND10_CONFIGURATION_START_AUTH, self.cfg_start_auth)
-        logger.info(BIND10_CONFIGURATION_START_RESOLVER, self.cfg_start_resolver)
+        if self.verbose:
+            sys.stdout.write("[bind10] - start_auth: %s\n" %
+                str(self.cfg_start_auth))
+            sys.stdout.write("[bind10] - start_resolver: %s\n" %
+                str(self.cfg_start_resolver))
 
     def log_starting(self, process, port = None, address = None):
         """
             A convenience function to output a "Starting xxx" message if the
-            logging is set to DEBUG with debuglevel DBG_PROCESS or higher.
-            Putting this into a separate method ensures
+            verbose option is set.  Putting this into a separate method ensures
             that the output form is consistent across all processes.
 
             The process name (passed as the first argument) is put into
@@ -379,14 +377,13 @@ class BoB:
             appended to the message (if present).
         """
         self.curproc = process
-        if port is None and address is None:
-            logger.info(BIND10_STARTING_PROCESS, self.curproc)
-        elif address is None:
-            logger.info(BIND10_STARTING_PROCESS_PORT, self.curproc,
-                        port)
-        else:
-            logger.info(BIND10_STARTING_PROCESS_PORT_ADDRESS,
-                        self.curproc, address, port)
+        if self.verbose:
+            sys.stdout.write("[bind10] Starting %s" % self.curproc)
+            if port is not None:
+                sys.stdout.write(" on port %d" % port)
+                if address is not None:
+                    sys.stdout.write(" (address %s)" % str(address))
+            sys.stdout.write("\n")
 
     def log_started(self, pid = None):
         """
@@ -394,10 +391,11 @@ class BoB:
             message.  As with starting_message(), this ensures a consistent
             format.
         """
-        if pid is None:
-            logger.debug(DBG_PROCESS, BIND10_STARTED_PROCESS, self.curproc)
-        else:
-            logger.debug(DBG_PROCESS, BIND10_STARTED_PROCESS_PID, self.curproc, pid)
+        if self.verbose:
+            sys.stdout.write("[bind10] Started %s" % self.curproc)
+            if pid is not None:
+                sys.stdout.write(" (PID %d)" % pid)
+            sys.stdout.write("\n")
 
     # The next few methods start the individual processes of BIND-10.  They
     # are called via start_all_processes().  If any fail, an exception is
@@ -461,9 +459,7 @@ class BoB:
         """
         self.log_starting("ccsession")
         self.ccs = isc.config.ModuleCCSession(SPECFILE_LOCATION, 
-                                      self.config_handler,
-                                      self.command_handler,
-                                      None, True)
+                                      self.config_handler, self.command_handler)
         self.ccs.start()
         self.log_started()
 
@@ -624,12 +620,12 @@ class BoB:
         # running
         c_channel_env = {}
         if self.msgq_socket_file is not None:
-             c_channel_env["BIND10_MSGQ_SOCKET_FILE"] = self.msgq_socket_file
-        logger.debug(DBG_PROCESS, BIND10_CHECK_MSGQ_ALREADY_RUNNING)
+             c_channel_env["BIND10_MSGQ_SOCKET_FILE"] = self.msgq_socket_file 
+        if self.verbose:
+           sys.stdout.write("[bind10] Checking for already running b10-msgq\n")
         # try to connect, and if we can't wait a short while
         try:
             self.cc_session = isc.cc.Session(self.msgq_socket_file)
-            logger.fatal(BIND10_MSGQ_ALREADY_RUNNING)
             return "b10-msgq already running, or socket file not cleaned , cannot start"
         except isc.cc.session.SessionError:
             # this is the case we want, where the msgq is not running
@@ -667,7 +663,8 @@ class BoB:
         Stop the given process, friendly-like. The process is the name it has
         (in logs, etc), the recipient is the address on msgq.
         """
-        logger.info(BIND10_STOP_PROCESS, process)
+        if self.verbose:
+            sys.stdout.write("[bind10] Asking %s to terminate\n" % process)
         # TODO: Some timeout to solve processes that don't want to die would
         # help. We can even store it in the dict, it is used only as a set
         self.expected_shutdowns[process] = 1
@@ -693,7 +690,8 @@ class BoB:
 
     def shutdown(self):
         """Stop the BoB instance."""
-        logger.info(BIND10_SHUTDOWN)
+        if self.verbose:
+            sys.stdout.write("[bind10] Stopping the server.\n")
         # first try using the BIND 10 request to stop
         try:
             self.stop_all_processes()
@@ -707,8 +705,9 @@ class BoB:
         # next try sending a SIGTERM
         processes_to_stop = list(self.processes.values())
         for proc_info in processes_to_stop:
-            logger.info(BIND10_SEND_SIGTERM, proc_info.name,
-                        proc_info.pid)
+            if self.verbose:
+                sys.stdout.write("[bind10] Sending SIGTERM to %s (PID %d).\n" % 
+                                 (proc_info.name, proc_info.pid))
             try:
                 proc_info.process.terminate()
             except OSError:
@@ -722,15 +721,17 @@ class BoB:
             self.reap_children()
             processes_to_stop = list(self.processes.values())
             for proc_info in processes_to_stop:
-                logger.info(BIND10_SEND_SIGKILL, proc_info.name,
-                            proc_info.pid)
+                if self.verbose:
+                    sys.stdout.write("[bind10] Sending SIGKILL to %s (PID %d).\n" % 
+                                     (proc_info.name, proc_info.pid))
                 try:
                     proc_info.process.kill()
                 except OSError:
                     # ignore these (usually ESRCH because the child
                     # finally exited)
                     pass
-        logger.info(BIND10_SHUTDOWN_COMPLETE)
+        if self.verbose:
+            sys.stdout.write("[bind10] All processes ended, server done.\n")
 
     def _get_process_exit_status(self):
         return os.waitpid(-1, os.WNOHANG)
@@ -758,16 +759,18 @@ class BoB:
                 # elsewhere.
                 if self.runnable:
                     if exit_status is None:
-                        logger.warn(BIND10_PROCESS_ENDED_NO_EXIT_STATUS,
-                                    proc_info.name, proc_info.pid)
+                        sys.stdout.write(
+                            "[bind10] Process %s (PID %d) died: exit status not available" % 
+                            (proc_info.name, proc_info.pid))
                     else:
-                        logger.warn(BIND10_PROCESS_ENDED_WITH_EXIT_STATUS,
-                                    proc_info.name, proc_info.pid,
-                                    exit_status)
+                        sys.stdout.write(
+                            "[bind10] Process %s (PID %d) terminated, exit status = %d\n" % 
+                            (proc_info.name, proc_info.pid, exit_status))
 
                     # Was it a special process?
                     if proc_info.name == "b10-msgq":
-                        logger.fatal(BIND10_MSGQ_DAEMON_ENDED)
+                        sys.stdout.write(
+                                 "[bind10] The b10-msgq process died, shutting down.\n")
                         self.runnable = False
 
                 # If we're in 'brittle' mode, we want to shutdown after
@@ -775,7 +778,7 @@ class BoB:
                 if self.brittle:
                     self.runnable = False
             else:
-                logger.info(BIND10_UNKNOWN_CHILD_PROCESS_ENDED, pid)
+                sys.stdout.write("[bind10] Unknown child pid %d exited.\n" % pid)
 
     def restart_processes(self):
         """
@@ -806,11 +809,14 @@ class BoB:
                     next_restart = restart_time
                 still_dead[proc_info.pid] = proc_info
             else:
-                logger.info(BIND10_RESURRECTING_PROCESS, proc_info.name)
+                if self.verbose:
+                    sys.stdout.write("[bind10] Resurrecting dead %s process...\n" % 
+                        proc_info.name)
                 try:
                     proc_info.respawn()
                     self.processes[proc_info.pid] = proc_info
-                    logger.info(BIND10_RESURRECTED_PROCESS, proc_info.name, proc_info.pid)
+                    sys.stdout.write("[bind10] Resurrected %s (PID %d)\n" %
+                                     (proc_info.name, proc_info.pid))
                 except:
                     still_dead[proc_info.pid] = proc_info
         # remember any processes that refuse to be resurrected
@@ -842,7 +848,8 @@ def fatal_signal(signal_number, stack_frame):
     """We need to exit (SIGINT or SIGTERM received)."""
     global options
     global boss_of_bind
-    logger.info(BIND10_RECEIVED_SIGNAL, get_signame(signal_number))
+    if options.verbose:
+        sys.stdout.write("[bind10] Received %s.\n" % get_signame(signal_number))
     signal.signal(signal.SIGCHLD, signal.SIG_DFL)
     boss_of_bind.runnable = False
 
@@ -960,11 +967,12 @@ def main():
             pass
 
         if setuid is None:
-            logger.fatal(BIND10_INVALID_USER, options.user)
+            sys.stderr.write("bind10: invalid user: '%s'\n" % options.user)
             sys.exit(1)
 
     # Announce startup.
-    logger.info(BIND10_STARTING, VERSION)
+    if options.verbose:
+        sys.stdout.write("%s\n" % VERSION)
 
     # Create wakeup pipe for signal handlers
     wakeup_pipe = os.pipe()
@@ -986,9 +994,9 @@ def main():
                        setuid, username, options.cmdctl_port, options.brittle)
     startup_result = boss_of_bind.startup()
     if startup_result:
-        logger.fatal(BIND10_STARTUP_ERROR, startup_result)
+        sys.stderr.write("[bind10] Error on startup: %s\n" % startup_result)
         sys.exit(1)
-    logger.info(BIND10_STARTUP_COMPLETE)
+    sys.stdout.write("[bind10] BIND 10 started\n")
     dump_pid(options.pid_file)
 
     # In our main loop, we check for dead processes or messages 
@@ -1014,7 +1022,7 @@ def main():
             if err.args[0] == errno.EINTR:
                 (rlist, wlist, xlist) = ([], [], [])
             else:
-                logger.fatal(BIND10_SELECT_ERROR, err)
+                sys.stderr.write("[bind10] Error with select(); %s\n" % err)
                 break
 
         for fd in rlist + xlist:
@@ -1022,8 +1030,8 @@ def main():
                 try:
                     boss_of_bind.ccs.check_command()
                 except isc.cc.session.ProtocolError:
-                    logger.fatal(BIND10_MSGQ_DISAPPEARED)
-                    self.runnable = False
+                    if options.verbose:
+                        sys.stderr.write("[bind10] msgq channel disappeared.\n")
                     break
             elif fd == wakeup_fd:
                 os.read(wakeup_fd, 32)
@@ -1031,6 +1039,7 @@ def main():
     # shutdown
     signal.signal(signal.SIGCHLD, signal.SIG_DFL)
     boss_of_bind.shutdown()
+    sys.stdout.write("[bind10] BIND 10 exiting\n");
     unlink_pid_file(options.pid_file)
     sys.exit(0)
 
diff --git a/src/bin/bind10/bind10_messages.mes b/src/bin/bind10/bind10_messages.mes
deleted file mode 100644
index 3f5f637..0000000
--- a/src/bin/bind10/bind10_messages.mes
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-# PERFORMANCE OF THIS SOFTWARE.
-
-# No namespace declaration - these constants go in the global namespace
-# of the xfrin messages python module.
-
-% BIND10_CHECK_MSGQ_ALREADY_RUNNING checking if msgq is already running
-The boss process is starting up and will now check if the message bus
-daemon is already running. If so, it will not be able to start, as it
-needs a dedicated message bus.
-
-% BIND10_CONFIGURATION_START_AUTH start authoritative server: %1
-This message shows whether or not the authoritative server should be
-started according to the configuration.
-
-% BIND10_CONFIGURATION_START_RESOLVER start resolver: %1
-This message shows whether or not the resolver should be
-started according to the configuration.
-
-% BIND10_INVALID_USER invalid user: %1
-The boss process was started with the -u option, to drop root privileges
-and continue running as the specified user, but the user is unknown.
-
-% BIND10_KILL_PROCESS killing process %1
-The boss module is sending a kill signal to process with the given name,
-as part of the process of killing all started processes during a failed
-startup, as described for BIND10_KILLING_ALL_PROCESSES
-
-% BIND10_KILLING_ALL_PROCESSES killing all started processes
-The boss module was not able to start every process it needed to start
-during startup, and will now kill the processes that did get started.
-
-% BIND10_MSGQ_ALREADY_RUNNING msgq daemon already running, cannot start
-There already appears to be a message bus daemon running. Either an
-old process was not shut down correctly, and needs to be killed, or
-another instance of BIND10, with the same msgq domain socket, is
-running, which needs to be stopped.
-
-% BIND10_MSGQ_DAEMON_ENDED b10-msgq process died, shutting down
-The message bus daemon has died. This is a fatal error, since it may
-leave the system in an inconsistent state. BIND10 will now shut down.
-
-% BIND10_MSGQ_DISAPPEARED msgq channel disappeared
-While listening on the message bus channel for messages, it suddenly
-disappeared. The msgq daemon may have died. This might lead to an
-inconsistent state of the system, and BIND 10 will now shut down.
-
-% BIND10_PROCESS_ENDED_NO_EXIT_STATUS process %1 (PID %2) died: exit status not available
-The given process ended unexpectedly, but no exit status is
-available. See BIND10_PROCESS_ENDED_WITH_EXIT_STATUS for a longer
-description.
-
-% BIND10_PROCESS_ENDED_WITH_EXIT_STATUS process %1 (PID %2) terminated, exit status = %3
-The given process ended unexpectedly with the given exit status.
-Depending on which module it was, it may simply be restarted, or it
-may be a problem that will cause the boss module to shut down too.
-The latter happens if it was the message bus daemon, which, if it has
-died suddenly, may leave the system in an inconsistent state. BIND10
-will also shut down now if it has been run with --brittle.
-
-% BIND10_READING_BOSS_CONFIGURATION reading boss configuration
-The boss process is starting up, and will now process the initial
-configuration, as received from the configuration manager.
-
-% BIND10_RECEIVED_COMMAND received command: %1
-The boss module received a command and shall now process it. The command
-is printed.
-
-% BIND10_RECEIVED_NEW_CONFIGURATION received new configuration: %1
-The boss module received a configuration update and is going to apply
-it now. The new configuration is printed.
-
-% BIND10_RECEIVED_SIGNAL received signal %1
-The boss module received the given signal.
-
-% BIND10_RESURRECTED_PROCESS resurrected %1 (PID %2)
-The given process has been restarted successfully, and is now running
-with the given process id.
-
-% BIND10_RESURRECTING_PROCESS resurrecting dead %1 process...
-The given process has ended unexpectedly, and is now restarted.
-
-% BIND10_SELECT_ERROR error in select() call: %1
-There was a fatal error in the call to select(), used to see if a child
-process has ended or if there is a message on the message bus. This
-should not happen under normal circumstances and is considered fatal,
-so BIND 10 will now shut down. The specific error is printed.
-
-% BIND10_SEND_SIGKILL sending SIGKILL to %1 (PID %2)
-The boss module is sending a SIGKILL signal to the given process.
-
-% BIND10_SEND_SIGTERM sending SIGTERM to %1 (PID %2)
-The boss module is sending a SIGTERM signal to the given process.
-
-% BIND10_SHUTDOWN stopping the server
-The boss process received a command or signal telling it to shut down.
-It will send a shutdown command to each process. The processes that do
-not shut down will then receive a SIGTERM signal. If that doesn't work,
-it shall send SIGKILL signals to the processes still alive.
-
-% BIND10_SHUTDOWN_COMPLETE all processes ended, shutdown complete
-All child processes have been stopped, and the boss process will now
-stop itself.
-
-% BIND10_START_AS_NON_ROOT starting %1 as a user, not root. This might fail.
-The given module is being started or restarted without root privileges.
-If the module needs these privileges, it may have problems starting.
-Note that this issue should be resolved by the pending 'socket-creator'
-process; once that has been implemented, modules should not need root
-privileges anymore. See tickets #800 and #801 for more information.
-
-% BIND10_STARTED_PROCESS started %1
-The given process has successfully been started.
-
-% BIND10_STARTED_PROCESS_PID started %1 (PID %2)
-The given process has successfully been started, and has the given PID.
-
-% BIND10_STARTING starting BIND10: %1
-Informational message on startup that shows the full version.
-
-% BIND10_STARTING_PROCESS starting process %1
-The boss module is starting the given process.
-
-% BIND10_STARTING_PROCESS_PORT starting process %1 (to listen on port %2)
-The boss module is starting the given process, which will listen on the
-given port number.
-
-% BIND10_STARTING_PROCESS_PORT_ADDRESS starting process %1 (to listen on %2#%3)
-The boss module is starting the given process, which will listen on the
-given address and port number (written as <address>#<port>).
-
-% BIND10_STARTUP_COMPLETE BIND 10 started
-All modules have been successfully started, and BIND 10 is now running.
-
-% BIND10_STARTUP_ERROR error during startup: %1
-There was a fatal error when BIND10 was trying to start. The error is
-shown, and BIND10 will now shut down.
-
-% BIND10_STOP_PROCESS asking %1 to shut down
-The boss module is sending a shutdown command to the given module over
-the message channel.
-
-% BIND10_UNKNOWN_CHILD_PROCESS_ENDED unknown child pid %1 exited
-An unknown child process has exited. The PID is printed, but no further
-action will be taken by the boss process.
-
diff --git a/src/bin/cmdctl/Makefile.am b/src/bin/cmdctl/Makefile.am
index fcd23f8..97a64ff 100644
--- a/src/bin/cmdctl/Makefile.am
+++ b/src/bin/cmdctl/Makefile.am
@@ -3,7 +3,6 @@ SUBDIRS = . tests
 pkglibexecdir = $(libexecdir)/@PACKAGE@
 
 pkglibexec_SCRIPTS = b10-cmdctl
-pyexec_DATA = cmdctl_messages.py
 
 b10_cmdctldir = $(pkgdatadir)
 
@@ -19,10 +18,10 @@ b10_cmdctl_DATA += cmdctl.spec
 
 EXTRA_DIST = $(CMDCTL_CONFIGURATIONS)
 
-CLEANFILES=	b10-cmdctl cmdctl.pyc cmdctl.spec cmdctl_messages.py cmdctl_messages.pyc
+CLEANFILES=	b10-cmdctl cmdctl.pyc cmdctl.spec
 
 man_MANS = b10-cmdctl.8
-EXTRA_DIST += $(man_MANS) b10-cmdctl.xml cmdctl_messages.mes
+EXTRA_DIST += $(man_MANS) b10-cmdctl.xml
 
 if ENABLE_MAN
 
@@ -34,11 +33,8 @@ endif
 cmdctl.spec: cmdctl.spec.pre
 	$(SED) -e "s|@@SYSCONFDIR@@|$(sysconfdir)|" cmdctl.spec.pre >$@
 
-cmdctl_messages.py: cmdctl_messages.mes
-	$(top_builddir)/src/lib/log/compiler/message -p $(top_srcdir)/src/bin/cmdctl/cmdctl_messages.mes
-
 # this is done here since configure.ac AC_OUTPUT doesn't expand exec_prefix
-b10-cmdctl: cmdctl.py cmdctl_messages.py
+b10-cmdctl: cmdctl.py
 	$(SED) "s|@@PYTHONPATH@@|@pyexecdir@|" cmdctl.py >$@
 	chmod a+x $@
 
diff --git a/src/bin/cmdctl/cmdctl.py.in b/src/bin/cmdctl/cmdctl.py.in
index 778d38f..f1c1021 100755
--- a/src/bin/cmdctl/cmdctl.py.in
+++ b/src/bin/cmdctl/cmdctl.py.in
@@ -47,18 +47,6 @@ import isc.net.parse
 from optparse import OptionParser, OptionValueError
 from hashlib import sha1
 from isc.util import socketserver_mixin
-from cmdctl_messages import *
-
-# TODO: these debug-levels are hard-coded here; we are planning on
-# creating a general set of debug levels, see ticket #1074. When done,
-# we should remove these values and use the general ones in the
-# logger.debug calls
-
-# Debug level for communication with BIND10
-DBG_CMDCTL_MESSAGING = 30
-
-isc.log.init("b10-cmdctl")
-logger = isc.log.Logger("cmdctl")
 
 try:
     import threading
@@ -185,8 +173,7 @@ class SecureHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
         if not user_name:
             return False, ["need user name"]
         if not self.server.get_user_info(user_name):
-            logger.info(CMDCTL_NO_SUCH_USER, user_name)
-            return False, ["username or password error"]
+            return False, ["user doesn't exist"]
 
         user_pwd = user_info.get('password')
         if not user_pwd:
@@ -194,8 +181,7 @@ class SecureHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
         local_info = self.server.get_user_info(user_name)
         pwd_hashval = sha1((user_pwd + local_info[1]).encode())
         if pwd_hashval.hexdigest() != local_info[0]:
-            logger.info(CMDCTL_BAD_PASSWORD, user_name)
-            return False, ["username or password error"]
+            return False, ["password doesn't match"] 
 
         return True, None
    
@@ -252,8 +238,7 @@ class CommandControl():
         self._cc = isc.cc.Session()
         self._module_cc = isc.config.ModuleCCSession(SPECFILE_LOCATION,
                                               self.config_handler,
-                                              self.command_handler,
-                                              None, True)
+                                              self.command_handler)
         self._module_name = self._module_cc.get_module_spec().get_module_name()
         self._cmdctl_config_data = self._module_cc.get_full_config()
         self._module_cc.start()
@@ -296,7 +281,7 @@ class CommandControl():
                 errstr = 'unknown config item: ' + key
             
             if errstr != None:
-                logger.error(CMDCTL_BAD_CONFIG_DATA, errstr);
+                self.log_info('Fail to apply config data, ' + errstr) 
                 return ccsession.create_answer(1, errstr)
 
         return ccsession.create_answer(0)
@@ -402,8 +387,8 @@ class CommandControl():
         '''Send the command from bindctl to proper module. '''
         errstr = 'unknown error'
         answer = None
-        logger.debug(DBG_CMDCTL_MESSAGING, CMDCTL_SEND_COMMAND,
-                     command_name, module_name)
+        if self._verbose:
+            self.log_info("Begin send command '%s' to module '%s'" %(command_name, module_name))
 
         if module_name == self._module_name:
             # Process the command sent to cmdctl directly. 
@@ -411,14 +396,15 @@ class CommandControl():
         else:
             msg = ccsession.create_command(command_name, params)
             seq = self._cc.group_sendmsg(msg, module_name)
-            logger.debug(DBG_CMDCTL_MESSAGING, CMDCTL_COMMAND_SENT,
-                         command_name, module_name)
             #TODO, it may be blocked, msqg need to add a new interface waiting in timeout.
             try:
                 answer, env = self._cc.group_recvmsg(False, seq)
             except isc.cc.session.SessionTimeout:
                 errstr = "Module '%s' not responding" % module_name
 
+        if self._verbose:
+            self.log_info("Finish send command '%s' to module '%s'" % (command_name, module_name))
+
         if answer:
             try:
                 rcode, arg = ccsession.parse_answer(answer)
@@ -429,13 +415,16 @@ class CommandControl():
                     else:
                         return rcode, {}
                 else:
+                    # TODO: exception
                     errstr = str(answer['result'][1])
             except ccsession.ModuleCCSessionError as mcse:
                 errstr = str("Error in ccsession answer:") + str(mcse)
-
-        logger.error(CMDCTL_COMMAND_ERROR, command_name, module_name, errstr)
+                self.log_info(errstr)
         return 1, {'error': errstr}
     
+    def log_info(self, msg):
+        sys.stdout.write("[b10-cmdctl] %s\n" % str(msg))
+
     def get_cmdctl_config_data(self):
         ''' If running in source code tree, use keyfile, certificate
         and user accounts file in source code. '''
@@ -492,15 +481,14 @@ class SecureHTTPServer(socketserver_mixin.NoPollMixIn,
                 for row in reader:
                     self._user_infos[row[0]] = [row[1], row[2]]
             except (IOError, IndexError) as e:
-                logger.error(CMDCTL_USER_DATABASE_READ_ERROR,
-                             accounts_file, e)
+                self.log_info("Fail to read user database, %s" % e)                
             finally:
                 if csvfile:
                     csvfile.close()
 
         self._accounts_file = accounts_file
         if len(self._user_infos) == 0:
-            logger.error(CMDCTL_NO_USER_ENTRIES_READ)
+            self.log_info("Fail to get user information, will deny any user")                
          
     def get_user_info(self, username):
         '''Get user's salt and hashed string. If the user
@@ -532,7 +520,7 @@ class SecureHTTPServer(socketserver_mixin.NoPollMixIn,
                                       ssl_version = ssl.PROTOCOL_SSLv23)
             return ssl_sock 
         except (ssl.SSLError, CmdctlException) as err :
-            logger.info(CMDCTL_SSL_SETUP_FAILURE_USER_DENIED, err)
+            self.log_info("Deny client's connection because %s" % str(err))
             self.close_request(sock)
             # raise socket error to finish the request
             raise socket.error
@@ -559,6 +547,9 @@ class SecureHTTPServer(socketserver_mixin.NoPollMixIn,
     def send_command_to_module(self, module_name, command_name, params):
         return self.cmdctl.send_command_with_check(module_name, command_name, params)
    
+    def log_info(self, msg):
+        sys.stdout.write("[b10-cmdctl] %s\n" % str(msg))
+
 httpd = None
 
 def signal_handler(signal, frame):
@@ -616,13 +607,15 @@ if __name__ == '__main__':
         run(options.addr, options.port, options.idle_timeout, options.verbose)
         result = 0
     except isc.cc.SessionError as err:
-        logger.fatal(CMDCTL_CC_SESSION_ERROR, err)
+        sys.stderr.write("[b10-cmdctl] Error creating b10-cmdctl, "
+                         "is the command channel daemon running?\n")        
     except isc.cc.SessionTimeout:
-        logger.fatal(CMDCTL_CC_SESSION_TIMEOUT)
+        sys.stderr.write("[b10-cmdctl] Error creating b10-cmdctl, "
+                         "is the configuration manager running?\n")        
     except KeyboardInterrupt:
-        logger.info(CMDCTL_STOPPED_BY_KEYBOARD)
+        sys.stderr.write("[b10-cmdctl] exit from Cmdctl\n")
     except CmdctlException as err:
-        logger.fatal(CMDCTL_UNCAUGHT_EXCEPTION, err);
+        sys.stderr.write("[b10-cmdctl] " + str(err) + "\n")
 
     if httpd:
         httpd.shutdown()
diff --git a/src/bin/cmdctl/cmdctl_messages.mes b/src/bin/cmdctl/cmdctl_messages.mes
deleted file mode 100644
index 55b941f..0000000
--- a/src/bin/cmdctl/cmdctl_messages.mes
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-# PERFORMANCE OF THIS SOFTWARE.
-
-# No namespace declaration - these constants go in the global namespace
-# of the cmdctl_messages python module.
-
-% CMDCTL_BAD_CONFIG_DATA error in config data: %1
-There was an error reading the updated configuration data. The specific
-error is printed.
-
-% CMDCTL_BAD_PASSWORD bad password for user: %1
-A login attempt was made to b10-cmdctl, but the password was wrong.
-Users can be managed with the tool b10-cmdctl-usermgr.
-
-% CMDCTL_CC_SESSION_ERROR error reading from cc channel: %1
-There was a problem reading from the command and control channel. The
-most likely cause is that the message bus daemon is not running.
-
-% CMDCTL_CC_SESSION_TIMEOUT timeout on cc channel
-A timeout occurred when waiting for essential data from the cc session.
-This usually occurs when b10-cfgmgr is not running or not responding.
-Since we are waiting for essential information, this is a fatal error,
-and the cmdctl daemon will now shut down.
-
-% CMDCTL_COMMAND_ERROR error in command %1 to module %2: %3
-An error was encountered sending the given command to the given module.
-Either there was a communication problem with the module, or the module
-was not able to process the command, and sent back an error. The
-specific error is printed in the message.
-
-% CMDCTL_COMMAND_SENT command '%1' to module '%2' was sent
-This debug message indicates that the given command has been sent to
-the given module.
-
-% CMDCTL_NO_SUCH_USER username not found in user database: %1
-A login attempt was made to b10-cmdctl, but the username was not known.
-Users can be added with the tool b10-cmdctl-usermgr.
-
-% CMDCTL_NO_USER_ENTRIES_READ failed to read user information, all users will be denied
-The b10-cmdctl daemon was unable to find any user data in the user
-database file. Either it was unable to read the file (in which case
-this message follows a message CMDCTL_USER_DATABASE_READ_ERROR
-containing a specific error), or the file was empty. Users can be added
-with the tool b10-cmdctl-usermgr.
-
-% CMDCTL_SEND_COMMAND sending command %1 to module %2
-This debug message indicates that the given command is being sent to
-the given module.
-
-% CMDCTL_SSL_SETUP_FAILURE_USER_DENIED failed to create an SSL connection (user denied): %1
-The user was denied because the SSL connection could not successfully
-be set up. The specific error is given in the log message. Possible
-causes may be that the ssl request itself was bad, or the local key or
-certificate file could not be read.
-
-% CMDCTL_STOPPED_BY_KEYBOARD keyboard interrupt, shutting down
-There was a keyboard interrupt signal to stop the cmdctl daemon. The
-daemon will now shut down.
-
-% CMDCTL_UNCAUGHT_EXCEPTION uncaught exception: %1
-The b10-cdmctl daemon encountered an uncaught exception and
-will now shut down. This is indicative of a programming error and
-should not happen under normal circumstances. The exception message
-is printed.
-
-% CMDCTL_USER_DATABASE_READ_ERROR failed to read user database file %1: %2
-The b10-cmdctl daemon was unable to read the user database file. The
-file may be unreadable for the daemon, or it may be corrupted. In the
-latter case, it can be recreated with b10-cmdctl-usermgr. The specific
-error is printed in the log message.
diff --git a/src/bin/cmdctl/tests/cmdctl_test.py b/src/bin/cmdctl/tests/cmdctl_test.py
index e77c529..5463c36 100644
--- a/src/bin/cmdctl/tests/cmdctl_test.py
+++ b/src/bin/cmdctl/tests/cmdctl_test.py
@@ -173,7 +173,7 @@ class TestSecureHTTPRequestHandler(unittest.TestCase):
         self.handler.server._user_infos['root'] = ['aa', 'aaa']
         ret, msg = self.handler._check_user_name_and_pwd()
         self.assertFalse(ret)
-        self.assertEqual(msg, ['username or password error'])
+        self.assertEqual(msg, ['password doesn\'t match'])
 
     def test_check_user_name_and_pwd_2(self):
         user_info = {'username':'root', 'password':'abc123'}
@@ -214,7 +214,7 @@ class TestSecureHTTPRequestHandler(unittest.TestCase):
 
         ret, msg = self.handler._check_user_name_and_pwd()
         self.assertFalse(ret)
-        self.assertEqual(msg, ['username or password error'])
+        self.assertEqual(msg, ['user doesn\'t exist'])
 
     def test_do_POST(self):
         self.handler.headers = {}
diff --git a/src/bin/resolver/Makefile.am b/src/bin/resolver/Makefile.am
index 2cbf140..bce8307 100644
--- a/src/bin/resolver/Makefile.am
+++ b/src/bin/resolver/Makefile.am
@@ -59,7 +59,6 @@ nodist_b10_resolver_SOURCES = resolver_messages.cc resolver_messages.h
 b10_resolver_LDADD =  $(top_builddir)/src/lib/dns/libdns++.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/config/libcfgclient.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/cc/libcc.la
-b10_resolver_LDADD += $(top_builddir)/src/lib/util/libutil.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/asiodns/libasiodns.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/asiolink/libasiolink.la
@@ -68,7 +67,6 @@ b10_resolver_LDADD += $(top_builddir)/src/lib/log/liblog.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/server_common/libserver_common.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/cache/libcache.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/nsas/libnsas.la
-b10_resolver_LDADD += $(top_builddir)/src/lib/acl/libacl.la
 b10_resolver_LDADD += $(top_builddir)/src/lib/resolve/libresolve.la
 b10_resolver_LDADD += $(top_builddir)/src/bin/auth/change_user.o
 b10_resolver_LDFLAGS = -pthread
diff --git a/src/lib/cc/data.cc b/src/lib/cc/data.cc
index a455d43..932bef4 100644
--- a/src/lib/cc/data.cc
+++ b/src/lib/cc/data.cc
@@ -447,9 +447,7 @@ from_stringstream_map(std::istream &in, const std::string& file, int& line,
     ElementPtr map = Element::createMap();
     skip_chars(in, " \t\n", line, pos);
     char c = in.peek();
-    if (c == EOF) {
-        throwJSONError(std::string("Unterminated map, <string> or } expected"), file, line, pos);
-    } else if (c == '}') {
+    if (c == '}') {
         // empty map, skip closing curly
         c = in.get();
     } else {
diff --git a/src/lib/cc/tests/data_unittests.cc b/src/lib/cc/tests/data_unittests.cc
index 53d5ab8..2536682 100644
--- a/src/lib/cc/tests/data_unittests.cc
+++ b/src/lib/cc/tests/data_unittests.cc
@@ -396,24 +396,9 @@ TEST(Element, to_and_from_wire) {
     EXPECT_EQ("1", Element::fromWire(ss, 1)->str());
 
     // Some malformed JSON input
-    EXPECT_THROW(Element::fromJSON("{ "), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{ \"a\" "), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{ \"a\": "), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{ \"a\": \"b\""), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{ \"a\": {"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{ \"a\": {}"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{ \"a\": []"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{ \"a\": [ }"), isc::data::JSONError);
     EXPECT_THROW(Element::fromJSON("{\":"), isc::data::JSONError);
     EXPECT_THROW(Element::fromJSON("]"), isc::data::JSONError);
     EXPECT_THROW(Element::fromJSON("[ 1, 2, }"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("[ 1, 2, {}"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("[ 1, 2, { ]"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("[ "), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{{}}"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{[]}"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("{ \"a\", \"b\" }"), isc::data::JSONError);
-    EXPECT_THROW(Element::fromJSON("[ \"a\": \"b\" ]"), isc::data::JSONError);
 }
 
 ConstElementPtr
diff --git a/src/lib/datasrc/data_source.cc b/src/lib/datasrc/data_source.cc
index b57a967..4e1fcde 100644
--- a/src/lib/datasrc/data_source.cc
+++ b/src/lib/datasrc/data_source.cc
@@ -945,7 +945,7 @@ tryWildcard(Query& q, QueryTaskPtr task, ZoneInfo& zoneinfo, bool& found) {
 void
 DataSrc::doQuery(Query& q) {
     LOG_DEBUG(logger, DBG_TRACE_BASIC, DATASRC_QUERY_PROCESS).arg(q.qname()).
-        arg(q.qtype()).arg(q.qclass());
+        arg(q.qclass());
     Message& m = q.message();
     vector<RRsetPtr> additional;
 
diff --git a/src/lib/log/README b/src/lib/log/README
index 3747cb1..d854dce 100644
--- a/src/lib/log/README
+++ b/src/lib/log/README
@@ -142,19 +142,13 @@ Points to note:
     the error originated from the logging library and the "WRITE_ERROR"
     indicates that there was a problem in a write operation.
 
-  * The rest of the line - from the first non-space character to the
-    last non- space character - is taken exactly for the text
-    of the message. There are no restrictions on what characters may
-    be in this text, other than they be printable.  (This means that
-    both single-quote (') and double-quote (") characters are allowed.)
-    The message text may include replacement tokens (the strings "%1",
-    "%2" etc.).  When a message is logged, these are replaced with the
-    arguments passed to the logging call: %1 refers to the first argument,
-    %2 to the second etc.  Within the message text, the placeholders
-    can appear in any order and placeholders can be repeated. Otherwise,
-    the message is printed unmodified.
-
-* Remaining lines indicate an explanation for the preceding message. These
+  * The replacement tokens are the strings "%1", "%2" etc.  When a message
+    is logged, these are replaced with the arguments passed to the logging
+    call: %1 refers to the first argument, %2 to the second etc.  Within the
+    message text, the placeholders can appear in any order and placeholders
+    can be repeated.
+     
+* Remaining lines indicate an explanation for the preceding message.  These
   are intended to be processed by a separate program and used to generate
   an error messages manual.  They are ignored by the message compiler.
 
@@ -238,8 +232,8 @@ Using the Logging - C++
 =======================
 1. Build message header file and source file as describe above.
 
-2. The main program unit must include a call to isc::log::initLogger()
-   (described in more detail below) to set the logging severity, debug log
+2. The main program unit should include a call to isc::log::initLogger()
+   (defined in logger_support.h) to set the logging severity, debug log
    level, and external message file:
 
    a) The logging severity is one of the enum defined in logger.h, i.e.
@@ -285,9 +279,9 @@ Using the Logging - Python
 ==========================
 1. Build message module as describe above.
 
-2. The main program unit must include a call to isc.log.init()
-   (described in more detail below) to set the to set the logging
-   severity, debug log level, and external message file:
+2. The main program unit should include a call to isc.log.init() to
+   set the to set the logging severity, debug log level, and external
+   message file:
 
    a) The logging severity is one of the strings:
 
@@ -322,91 +316,6 @@ Using the Logging - Python
 
        logger.error(LOG_WRITE_ERROR, "output.txt");
 
-Logging Initialization
-======================
-In all cases, if an attempt is made to use a logging method before the logging
-has been initialized, the program will terminate with a LoggingNotInitialized
-exception.
-
-C++
----
-Logging Initialization is carried out by calling initLogger().  There are two
-variants to the call, one for use by production programs and one for use by
-unit tests.
-
-Variant #1, Used by Production Programs
----------------------------------------
-void isc::log::initLogger(const std::string& root,
-                          isc::log::Severity severity = isc::log::INFO,
-                          int dbglevel = 0, const char* file = NULL);
-
-This is the call that should be used by production programs:
-
-root
-Name of the program (e.g. "b10-auth").  This is also the name of the root
-logger and is used when configuring logging.
-
-severity
-Default severity that the program will start logging with.  Although this may
-be overridden when the program obtains its configuration from the configuration
-database, this is the severity that it used until then.  (This may be set by
-a command-line parameter.)
-
-dbglevel
-The debug level used if "severity" is set to isc::log::DEBUG.
-
-file
-The name of a local message file.  This will be read and its definitions used
-to replace the compiled-in text of the messages.
-
-
-Variant #2, Used by Unit Tests
-------------------------------
-    void isc::log::initLogger()
-
-This is the call that should be used by unit tests.  In this variant, all the
-options are supplied by environment variables. (It should not be used for
-production programs to avoid the chance that the program operation is affected
-by inadvertently-defined environment variables.)
-
-The environment variables are:
-
-B10_LOGGER_ROOT
-Sets the "root" for the unit test.  If not defined, the name "bind10" is used.
-
-B10_LOGGER_SEVERITY
-The severity to set for the root logger in the unit test.  Valid values are
-"DEBUG", "INFO", "WARN", "ERROR", "FATAL" and "NONE".  If not defined, "INFO"
-is used.
-
-B10_LOGGER_DBGLEVEL
-If B10_LOGGER_SEVERITY is set to "DEBUG", the debug level.  This can be a
-number between 0 and 99, and defaults to 0.
-
-B10_LOGGER_LOCALMSG
-If defined, points to a local message file.  The default is not to use a local
-message file.
-
-B10_LOGGER_DESTINATION
-The location to which log message are written.  This can be one of:
-
-   stdout               Message are written to stdout
-   stderr               Messages are written to stderr
-   syslog[:facility]    Messages are written to syslog.  If the optional
-                        "facility" is used, the messages are written using
-                        that facility.  (This defaults to "local0" if not
-                        specified.)
-   Anything else        Interpreted as the name of a file to which output
-                        is appended.  If the file does not exist, a new one
-                        is opened.
-
-In the case of "stdout", "stderr" and "syslog", they must be written exactly
-as is - no leading or trailing spaces, and in lower-case.
-
-Python
-------
-To be supplied
-
 
 Severity Guidelines
 ===================
diff --git a/src/lib/log/log_formatter.h b/src/lib/log/log_formatter.h
index 11dec84..c81d4ea 100644
--- a/src/lib/log/log_formatter.h
+++ b/src/lib/log/log_formatter.h
@@ -163,8 +163,6 @@ public:
     }
 
     /// \brief String version of arg.
-    ///
-    /// \param arg The text to place into the placeholder.
     Formatter& arg(const std::string& arg) {
         if (logger_) {
             // Note that this method does a replacement and returns the
@@ -181,6 +179,7 @@ public:
         }
         return (*this);
     }
+
 };
 
 }
diff --git a/src/lib/log/logger_support.cc b/src/lib/log/logger_support.cc
index 2c5ab45..73323a0 100644
--- a/src/lib/log/logger_support.cc
+++ b/src/lib/log/logger_support.cc
@@ -31,9 +31,7 @@
 
 #include <log/logger_level.h>
 #include <log/logger_manager.h>
-#include <log/logger_specification.h>
 #include <log/logger_support.h>
-#include <log/output_option.h>
 
 using namespace std;
 
@@ -42,77 +40,6 @@ namespace {
 // Flag to hold logging initialization state.
 bool logging_init_state = false;
 
-
-// Set logging destination according to the setting of B10_LOGGER_DESTINATION.
-// (See header for initLogger() for more details.)  This is a no-op if the
-// environment variable is not defined.
-//
-// \param root Name of the root logger
-// \param severity Severity level to be assigned to the root logger
-// \param dbglevel Debug level
-
-void
-setDestination(const char* root, const isc::log::Severity severity,
-               const int dbglevel) {
-
-    using namespace isc::log;
-
-    const char* destination = getenv("B10_LOGGER_DESTINATION");
-    if (destination != NULL) {
-
-        // Constants: not declared static as this is function is expected to be
-        // called once only
-        const string STDOUT = "stdout";
-        const string STDERR = "stderr";
-        const string SYSLOG = "syslog";
-        const string SYSLOG_COLON = "syslog:";
-
-        // Prepare the objects to define the logging specification
-        LoggerSpecification spec(root, severity, dbglevel);
-        OutputOption option;
-
-        // Set up output option according to destination specification
-        const string dest = destination;
-        if (dest == STDOUT) {
-            option.destination = OutputOption::DEST_CONSOLE;
-            option.stream = OutputOption::STR_STDOUT;
-
-        } else if (dest == STDERR) {
-            option.destination = OutputOption::DEST_CONSOLE;
-            option.stream = OutputOption::STR_STDERR;
-
-        } else if (dest == SYSLOG) {
-            option.destination = OutputOption::DEST_SYSLOG;
-            // Use default specified in OutputOption constructor for the
-            // syslog destination
-
-        } else if (dest.find(SYSLOG_COLON) == 0) {
-            option.destination = OutputOption::DEST_SYSLOG;
-            // Must take account of the string actually being "syslog:"
-            if (dest == SYSLOG_COLON) {
-                cerr << "**ERROR** value for B10_LOGGER_DESTINATION of " <<
-                        SYSLOG_COLON << " is invalid, " << SYSLOG <<
-                        " will be used instead\n";
-                // Use default for logging facility
-
-            } else {
-                // Everything else in the string is the facility name
-                option.facility = dest.substr(SYSLOG_COLON.size());
-            }
-
-        } else {
-            // Not a recognised destination, assume a file
-            option.destination = OutputOption::DEST_FILE;
-            option.filename = dest;
-        }
-
-        // ... and set the destination
-        spec.addOutputOption(option);
-        LoggerManager manager;
-        manager.process(spec);
-    }
-}
-
 } // Anonymous namespace
 
 namespace isc {
@@ -188,14 +115,11 @@ void initLogger(isc::log::Severity severity, int dbglevel) {
         }
     }
 
-    // Set the local message file
+    /// Set the local message file
     const char* localfile = getenv("B10_LOGGER_LOCALMSG");
 
     // Initialize logging
     initLogger(root, severity, dbglevel, localfile);
-
-    // Now set the destination for logging output
-    setDestination(root, severity, dbglevel);
 }
 
 } // namespace log
diff --git a/src/lib/log/logger_support.h b/src/lib/log/logger_support.h
index cf83abc..4bc8acc 100644
--- a/src/lib/log/logger_support.h
+++ b/src/lib/log/logger_support.h
@@ -68,37 +68,26 @@ void initLogger(const std::string& root,
 /// Performs run-time initialization of the logger via the setting of
 /// environment variables.  These are:
 ///
-/// - B10_LOGGER_ROOT\n
+/// B10_LOGGER_ROOT
 /// Name of the root logger.  If not given, the string "bind10" will be used.
 ///
-/// - B10_LOGGER_SEVERITY\n
+/// B10_LOGGER_SEVERITY
 /// Severity of messages that will be logged.  This must be one of the strings
 /// "DEBUG", "INFO", "WARN", "ERROR", "FATAL" or "NONE". (Must be upper case
 /// and must not contain leading or trailing spaces.)  If not specified (or if
 /// specified but incorrect), the default passed as argument to this function
 /// (currently INFO) will be used.
 ///
-/// - B10_LOGGER_DBGLEVEL\n
+/// B10_LOGGER_DBGLEVEL
 /// Ignored if the level is not DEBUG, this should be a number between 0 and
 /// 99 indicating the logging severity.  The default is 0.  If outside these
 /// limits or if not a number, The value passed to this function (default
 /// of 0) is used.
 ///
-/// - B10_LOGGER_LOCALMSG\n
+/// B10_LOGGER_LOCALMSG
 /// If defined, the path specification of a file that contains message
 /// definitions replacing ones in the default dictionary.
 ///
-/// - B10_LOGGER_DESTINATION\n
-/// If defined, the destination of the logging output.  This can be one of:
-///   - \c stdout Send output to stdout.
-///   - \c stderr Send output to stderr
-///   - \c syslog Send output to syslog using the facility local0.
-///   - \c syslog:xxx  Send output to syslog, using the facility xxx. ("xxx"
-///     should be one of the syslog facilities such as "local0".)  There must
-///     be a colon between "syslog" and "xxx
-///   - \c other Anything else is interpreted as the name of a file to which
-///     output is appended.  If the file does not exist, it is created.
-///
 /// Any errors in the settings cause messages to be output to stderr.
 ///
 /// This function is aimed at test programs, allowing the default settings to
diff --git a/src/lib/log/tests/Makefile.am b/src/lib/log/tests/Makefile.am
index 6159d63..cd2ae29 100644
--- a/src/lib/log/tests/Makefile.am
+++ b/src/lib/log/tests/Makefile.am
@@ -52,23 +52,12 @@ logger_example_LDFLAGS = $(AM_LDFLAGS) $(LOG4CPLUS_LDFLAGS)
 logger_example_LDADD  = $(top_builddir)/src/lib/log/liblog.la
 logger_example_LDADD += $(top_builddir)/src/lib/util/libutil.la
 
-check_PROGRAMS += init_logger_test
-init_logger_test_SOURCES = init_logger_test.cc
-init_logger_test_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
-init_logger_test_LDFLAGS = $(AM_LDFLAGS) $(LOG4CPLUS_LDFLAGS)
-init_logger_test_LDADD  = $(top_builddir)/src/lib/log/liblog.la
-init_logger_test_LDADD += $(top_builddir)/src/lib/util/libutil.la
-
 noinst_PROGRAMS = $(TESTS)
 
-# Additional test using the shell.  These are principally tests
-# where the global logging environment is affected, and where the
-# output needs to be compared with stored output (where "cut" and
-# "diff" are useful utilities).
-
+# Additional test using the shell
+PYTESTS = console_test.sh local_file_test.sh severity_test.sh
 check-local:
 	$(SHELL) $(abs_builddir)/console_test.sh
 	$(SHELL) $(abs_builddir)/destination_test.sh
-	$(SHELL) $(abs_builddir)/init_logger_test.sh
 	$(SHELL) $(abs_builddir)/local_file_test.sh
 	$(SHELL) $(abs_builddir)/severity_test.sh
diff --git a/src/lib/log/tests/console_test.sh.in b/src/lib/log/tests/console_test.sh.in
index a16dc23..7ef2684 100755
--- a/src/lib/log/tests/console_test.sh.in
+++ b/src/lib/log/tests/console_test.sh.in
@@ -13,6 +13,8 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
+# \brief
+#
 # The logger supports the idea of a "console" logger than logs to either stdout
 # or stderr.  This test checks that both these options work.
 
diff --git a/src/lib/log/tests/destination_test.sh.in b/src/lib/log/tests/destination_test.sh.in
index 1cfb9fb..41a52ee 100755
--- a/src/lib/log/tests/destination_test.sh.in
+++ b/src/lib/log/tests/destination_test.sh.in
@@ -13,7 +13,10 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# Checks that the logger will route messages to the chosen destination.
+# \brief Severity test
+#
+# Checks that the logger will limit the output of messages less severy than
+# the severity/debug setting.
 
 testname="Destination test"
 echo $testname
diff --git a/src/lib/log/tests/init_logger_test.cc b/src/lib/log/tests/init_logger_test.cc
deleted file mode 100644
index 104c078..0000000
--- a/src/lib/log/tests/init_logger_test.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
-//
-// Permission to use, copy, modify, and/or distribute this software for any
-// purpose with or without fee is hereby granted, provided that the above
-// copyright notice and this permission notice appear in all copies.
-//
-// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-// AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-// PERFORMANCE OF THIS SOFTWARE.
-
-#include <log/macros.h>
-#include <log/logger_support.h>
-#include <log/log_messages.h>
-
-using namespace isc::log;
-
-/// \brief Test InitLogger
-///
-/// A program used in testing the logger that initializes logging using
-/// initLogger(), then outputs several messages at different severities and
-/// debug levels.  An external script sets the environment variables and checks
-/// that they have the desired effect.
-
-int
-main(int, char**) {
-    initLogger();
-    Logger logger("log");
-
-    LOG_DEBUG(logger, 0, LOG_BAD_DESTINATION).arg("debug-0");
-    LOG_DEBUG(logger, 50, LOG_BAD_DESTINATION).arg("debug-50");
-    LOG_DEBUG(logger, 99, LOG_BAD_DESTINATION).arg("debug-99");
-    LOG_INFO(logger, LOG_BAD_SEVERITY).arg("info");
-    LOG_WARN(logger, LOG_BAD_STREAM).arg("warn");
-    LOG_ERROR(logger, LOG_DUPLICATE_MESSAGE_ID).arg("error");
-    LOG_FATAL(logger, LOG_NO_MESSAGE_ID).arg("fatal");
-
-    return (0);
-}
diff --git a/src/lib/log/tests/init_logger_test.sh.in b/src/lib/log/tests/init_logger_test.sh.in
deleted file mode 100755
index d26ca5d..0000000
--- a/src/lib/log/tests/init_logger_test.sh.in
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-# PERFORMANCE OF THIS SOFTWARE.
-
-# Checks that the initLogger() call uses for unit tests respects the setting of
-# the environment variables.
-
-testname="initLogger test"
-echo $testname
-
-failcount=0
-tempfile=@abs_builddir@/init_logger_test_tempfile_$$
-destfile=@abs_builddir@/init_logger_test_destfile_$$
-
-passfail() {
-    if [ $1 -eq 0 ]; then
-        echo " pass"
-    else
-        echo " FAIL"
-        failcount=`expr $failcount + $1`
-    fi
-}
-
-echo "1. Checking that B10_LOGGER_SEVERITY/B10_LOGGER_DBGLEVEL work"
-
-echo -n  "   - severity=DEBUG, dbglevel=99: "
-cat > $tempfile << .
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-0
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-50
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-99
-INFO  [bind10.log] LOG_BAD_SEVERITY unrecognized log severity: info
-WARN  [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
-ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
-FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
-.
-B10_LOGGER_SEVERITY=DEBUG B10_LOGGER_DBGLEVEL=99 ./init_logger_test 2>&1 | \
-    cut -d' ' -f3- | diff $tempfile -
-passfail $?
-
-echo -n  "   - severity=DEBUG, dbglevel=50: "
-cat > $tempfile << .
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-0
-DEBUG [bind10.log] LOG_BAD_DESTINATION unrecognized log destination: debug-50
-INFO  [bind10.log] LOG_BAD_SEVERITY unrecognized log severity: info
-WARN  [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
-ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
-FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
-.
-B10_LOGGER_SEVERITY=DEBUG B10_LOGGER_DBGLEVEL=50 ./init_logger_test 2>&1 | \
-    cut -d' ' -f3- | diff $tempfile -
-passfail $?
-
-echo -n  "   - severity=WARN: "
-cat > $tempfile << .
-WARN  [bind10.log] LOG_BAD_STREAM bad log console output stream: warn
-ERROR [bind10.log] LOG_DUPLICATE_MESSAGE_ID duplicate message ID (error) in compiled code
-FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
-.
-B10_LOGGER_SEVERITY=WARN ./init_logger_test 2>&1 | \
-    cut -d' ' -f3- | diff $tempfile -
-passfail $?
-
-echo "2. Checking that B10_LOGGER_DESTINATION works"
-
-echo -n  "   - stdout: "
-cat > $tempfile << .
-FATAL [bind10.log] LOG_NO_MESSAGE_ID line fatal: message definition line found without a message ID
-.
-rm -f $destfile
-B10_LOGGER_SEVERITY=FATAL B10_LOGGER_DESTINATION=stdout ./init_logger_test 1> $destfile
-cut -d' ' -f3- $destfile | diff $tempfile -
-passfail $?
-
-echo -n  "   - stderr: "
-rm -f $destfile
-B10_LOGGER_SEVERITY=FATAL B10_LOGGER_DESTINATION=stderr ./init_logger_test 2> $destfile
-cut -d' ' -f3- $destfile | diff $tempfile -
-passfail $?
-
-echo -n  "   - file: "
-rm -f $destfile
-B10_LOGGER_SEVERITY=FATAL B10_LOGGER_DESTINATION=$destfile ./init_logger_test
-cut -d' ' -f3- $destfile | diff $tempfile -
-passfail $?
-
-# Note: can't automatically test syslog output.
-
-if [ $failcount -eq 0 ]; then
-    echo "PASS: $testname"
-elif [ $failcount -eq 1 ]; then
-    echo "FAIL: $testname - 1 test failed"
-else
-    echo "FAIL: $testname - $failcount tests failed"
-fi
-
-# Tidy up.
-rm -f $tempfile $destfile
-
-exit $failcount
diff --git a/src/lib/log/tests/local_file_test.sh.in b/src/lib/log/tests/local_file_test.sh.in
index 9b898e6..d76f48f 100755
--- a/src/lib/log/tests/local_file_test.sh.in
+++ b/src/lib/log/tests/local_file_test.sh.in
@@ -13,6 +13,8 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
+# \brief Local message file test
+#
 # Checks that a local message file can override the definitions in the message
 # dictionary.
 
diff --git a/src/lib/log/tests/severity_test.sh.in b/src/lib/log/tests/severity_test.sh.in
index 78d5050..124f36a 100755
--- a/src/lib/log/tests/severity_test.sh.in
+++ b/src/lib/log/tests/severity_test.sh.in
@@ -13,7 +13,9 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# Checks that the logger will limit the output of messages less severe than
+# \brief Severity test
+#
+# Checks that the logger will limit the output of messages less severy than
 # the severity/debug setting.
 
 testname="Severity test"
@@ -31,7 +33,7 @@ passfail() {
     fi
 }
 
-echo -n "1. Default parameters:"
+echo -n "1. runInitTest default parameters:"
 cat > $tempfile << .
 FATAL [example] LOG_WRITE_ERROR error writing to test1: 42
 ERROR [example] LOG_READING_LOCAL_FILE reading local message file dummy/file
diff --git a/src/lib/python/isc/cc/message.py b/src/lib/python/isc/cc/message.py
index 3ebcc43..3601c41 100644
--- a/src/lib/python/isc/cc/message.py
+++ b/src/lib/python/isc/cc/message.py
@@ -35,7 +35,7 @@ def from_wire(data):
        Raises an AttributeError if the given object has no decode()
        method (which should return a string).
        '''
-    return json.loads(data.decode('utf8'), strict=False)
+    return json.loads(data.decode('utf8'))
 
 if __name__ == "__main__":
     import doctest
diff --git a/src/lib/python/isc/cc/session.py b/src/lib/python/isc/cc/session.py
index f6b6265..fb7dd06 100644
--- a/src/lib/python/isc/cc/session.py
+++ b/src/lib/python/isc/cc/session.py
@@ -93,19 +93,6 @@ class Session:
                 self._socket.send(msg)
 
     def recvmsg(self, nonblock = True, seq = None):
-        """Reads a message. If nonblock is true, and there is no
-           message to read, it returns (None, None).
-           If seq is not None, it should be a value as returned by
-           group_sendmsg(), in which case only the response to
-           that message is returned, and others will be queued until
-           the next call to this method.
-           If seq is None, only messages that are *not* responses
-           will be returned, and responses will be queued.
-           The queue is checked for relevant messages before data
-           is read from the socket.
-           Raises a SessionError if there is a JSON decode problem in
-           the message that is read, or if the session has been closed
-           prior to the call of recvmsg()"""
         with self._lock:
             if len(self._queue) > 0:
                 i = 0;
@@ -122,22 +109,16 @@ class Session:
             if data and len(data) > 2:
                 header_length = struct.unpack('>H', data[0:2])[0]
                 data_length = len(data) - 2 - header_length
-                try:
-                    if data_length > 0:
-                        env = isc.cc.message.from_wire(data[2:header_length+2])
-                        msg = isc.cc.message.from_wire(data[header_length + 2:])
-                        if (seq == None and "reply" not in env) or (seq != None and "reply" in env and seq == env["reply"]):
-                            return env, msg
-                        else:
-                            self._queue.append((env,msg))
-                            return self.recvmsg(nonblock, seq)
+                if data_length > 0:
+                    env = isc.cc.message.from_wire(data[2:header_length+2])
+                    msg = isc.cc.message.from_wire(data[header_length + 2:])
+                    if (seq == None and "reply" not in env) or (seq != None and "reply" in env and seq == env["reply"]):
+                        return env, msg
                     else:
-                        return isc.cc.message.from_wire(data[2:header_length+2]), None
-                except ValueError as ve:
-                    # TODO: when we have logging here, add a debug
-                    # message printing the data that we were unable
-                    # to parse as JSON
-                    raise SessionError(ve)
+                        self._queue.append((env,msg))
+                        return self.recvmsg(nonblock, seq)
+                else:
+                    return isc.cc.message.from_wire(data[2:header_length+2]), None
             return None, None
 
     def _receive_bytes(self, size):
diff --git a/src/lib/python/isc/cc/tests/message_test.py b/src/lib/python/isc/cc/tests/message_test.py
index c417068..2024201 100644
--- a/src/lib/python/isc/cc/tests/message_test.py
+++ b/src/lib/python/isc/cc/tests/message_test.py
@@ -31,10 +31,6 @@ class MessageTest(unittest.TestCase):
         self.msg2_str = "{\"aaa\": [1, 1.1, true, false, null]}";
         self.msg2_wire = self.msg2_str.encode()
 
-        self.msg3 = { "aaa": [ 1, 1.1, True, False, "string\n" ] }
-        self.msg3_str = "{\"aaa\": [1, 1.1, true, false, \"string\n\" ]}";
-        self.msg3_wire = self.msg3_str.encode()
-
     def test_encode_json(self):
         self.assertEqual(self.msg1_wire, isc.cc.message.to_wire(self.msg1))
         self.assertEqual(self.msg2_wire, isc.cc.message.to_wire(self.msg2))
@@ -44,7 +40,6 @@ class MessageTest(unittest.TestCase):
     def test_decode_json(self):
         self.assertEqual(self.msg1, isc.cc.message.from_wire(self.msg1_wire))
         self.assertEqual(self.msg2, isc.cc.message.from_wire(self.msg2_wire))
-        self.assertEqual(self.msg3, isc.cc.message.from_wire(self.msg3_wire))
 
         self.assertRaises(AttributeError, isc.cc.message.from_wire, 1)
         self.assertRaises(ValueError, isc.cc.message.from_wire, b'\x001')
diff --git a/src/lib/python/isc/cc/tests/session_test.py b/src/lib/python/isc/cc/tests/session_test.py
index 772ed0c..fe35a6c 100644
--- a/src/lib/python/isc/cc/tests/session_test.py
+++ b/src/lib/python/isc/cc/tests/session_test.py
@@ -274,16 +274,6 @@ class testSession(unittest.TestCase):
         self.assertEqual({"hello": "b"}, msg)
         self.assertFalse(sess.has_queued_msgs())
 
-    def test_recv_bad_msg(self):
-        sess = MySession()
-        self.assertFalse(sess.has_queued_msgs())
-        sess._socket.addrecv({'to': 'someone' }, {'hello': 'b'})
-        sess._socket.addrecv({'to': 'someone', 'reply': 1}, {'hello': 'a'})
-        # mangle the bytes a bit
-        sess._socket.recvqueue[5] = sess._socket.recvqueue[5] - 2
-        sess._socket.recvqueue = sess._socket.recvqueue[:-2]
-        self.assertRaises(SessionError, sess.recvmsg, True, 1)
-
     def test_next_sequence(self):
         sess = MySession()
         self.assertEqual(sess._sequence, 1)
diff --git a/src/lib/python/isc/config/cfgmgr.py b/src/lib/python/isc/config/cfgmgr.py
index 18e001c..83db159 100644
--- a/src/lib/python/isc/config/cfgmgr.py
+++ b/src/lib/python/isc/config/cfgmgr.py
@@ -380,9 +380,6 @@ class ConfigManager:
                 answer, env = self.cc.group_recvmsg(False, seq)
             except isc.cc.SessionTimeout:
                 answer = ccsession.create_answer(1, "Timeout waiting for answer from " + module_name)
-            except isc.cc.SessionError as se:
-                logger.error(CFGMGR_BAD_UPDATE_RESPONSE_FROM_MODULE, module_name, se)
-                answer = ccsession.create_answer(1, "Unable to parse response from " + module_name + ": " + str(se))
         if answer:
             rcode, val = ccsession.parse_answer(answer)
             if rcode == 0:
diff --git a/src/lib/python/isc/config/cfgmgr_messages.mes b/src/lib/python/isc/config/cfgmgr_messages.mes
index 61a63ed..9355e4d 100644
--- a/src/lib/python/isc/config/cfgmgr_messages.mes
+++ b/src/lib/python/isc/config/cfgmgr_messages.mes
@@ -20,13 +20,6 @@ An older version of the configuration database has been found, from which
 there was an automatic upgrade path to the current version. These changes
 are now applied, and no action from the administrator is necessary.
 
-% CFGMGR_BAD_UPDATE_RESPONSE_FROM_MODULE Unable to parse response from module %1: %2
-The configuration manager sent a configuration update to a module, but
-the module responded with an answer that could not be parsed. The answer
-message appears to be invalid JSON data, or not decodable to a string.
-This is likely to be a problem in the module in question. The update is
-assumed to have failed, and will not be stored.
-
 % CFGMGR_CC_SESSION_ERROR Error connecting to command channel: %1
 The configuration manager daemon was unable to connect to the messaging
 system. The most likely cause is that msgq is not running.
diff --git a/src/lib/python/isc/log/Makefile.am b/src/lib/python/isc/log/Makefile.am
index 5ff2c28..b228caf 100644
--- a/src/lib/python/isc/log/Makefile.am
+++ b/src/lib/python/isc/log/Makefile.am
@@ -23,15 +23,6 @@ log_la_LIBADD += $(PYTHON_LIB)
 # This is not installed, it helps locate the module during tests
 EXTRA_DIST = __init__.py
 
-# We're going to abuse install-data-local for a pre-install check.
-# This is to be considered a short term hack and is expected to be removed
-# in a near future version.
-install-data-local:
-	if test -d @pyexecdir@/isc/log; then \
-		echo "@pyexecdir@/isc/log is deprecated, and will confuse newer versions.  Please (re)move it by hand."; \
-		exit 1; \
-	fi
-
 pytest:
 	$(SHELL) tests/log_test
 
diff --git a/src/lib/server_common/Makefile.am b/src/lib/server_common/Makefile.am
index c2779b4..d576104 100644
--- a/src/lib/server_common/Makefile.am
+++ b/src/lib/server_common/Makefile.am
@@ -20,9 +20,6 @@ lib_LTLIBRARIES = libserver_common.la
 libserver_common_la_SOURCES = client.h client.cc
 libserver_common_la_SOURCES += keyring.h keyring.cc
 libserver_common_la_SOURCES += portconfig.h portconfig.cc
-libserver_common_la_SOURCES += logger.h logger.cc
-nodist_libserver_common_la_SOURCES = server_common_messages.h
-nodist_libserver_common_la_SOURCES += server_common_messages.cc
 libserver_common_la_LIBADD = $(top_builddir)/src/lib/exceptions/libexceptions.la
 libserver_common_la_LIBADD += $(top_builddir)/src/lib/asiolink/libasiolink.la
 libserver_common_la_LIBADD += $(top_builddir)/src/lib/cc/libcc.la
@@ -30,10 +27,5 @@ libserver_common_la_LIBADD += $(top_builddir)/src/lib/config/libcfgclient.la
 libserver_common_la_LIBADD += $(top_builddir)/src/lib/log/liblog.la
 libserver_common_la_LIBADD += $(top_builddir)/src/lib/acl/libacl.la
 libserver_common_la_LIBADD += $(top_builddir)/src/lib/dns/libdns++.la
-BUILT_SOURCES = server_common_messages.h server_common_messages.cc
-server_common_messages.h server_common_messages.cc: server_common_messages.mes
-	$(top_builddir)/src/lib/log/compiler/message $(top_srcdir)/src/lib/server_common/server_common_messages.mes
 
-EXTRA_DIST = server_common_messages.mes
-
-CLEANFILES = *.gcno *.gcda server_common_messages.h server_common_messages.cc
+CLEANFILES = *.gcno *.gcda
diff --git a/src/lib/server_common/keyring.cc b/src/lib/server_common/keyring.cc
index 501dfd9..b60e796 100644
--- a/src/lib/server_common/keyring.cc
+++ b/src/lib/server_common/keyring.cc
@@ -13,7 +13,6 @@
 // PERFORMANCE OF THIS SOFTWARE.
 
 #include <server_common/keyring.h>
-#include <server_common/logger.h>
 
 using namespace isc::dns;
 using namespace isc::data;
@@ -32,7 +31,6 @@ updateKeyring(const std::string&, ConstElementPtr data,
               const isc::config::ConfigData&) {
     ConstElementPtr list(data->get("keys"));
     KeyringPtr load(new TSIGKeyRing);
-    LOG_DEBUG(logger, DBG_TRACE_BASIC, SRVCOMM_KEYS_UPDATE);
 
     // Note that 'data' only contains explicitly configured config parameters.
     // So if we use the default list is NULL, rather than an empty list, and
@@ -52,7 +50,6 @@ initKeyring(config::ModuleCCSession& session) {
         // We are already initialized
         return;
     }
-    LOG_DEBUG(logger, DBG_TRACE_BASIC, SRVCOMM_KEYS_INIT);
     session.addRemoteConfig("tsig_keys", updateKeyring, false);
 }
 
@@ -62,7 +59,6 @@ deinitKeyring(config::ModuleCCSession& session) {
         // Not initialized, ignore it
         return;
     }
-    LOG_DEBUG(logger, DBG_TRACE_BASIC, SRVCOMM_KEYS_DEINIT);
     keyring.reset();
     session.removeRemoteConfig("tsig_keys");
 }
diff --git a/src/lib/server_common/logger.cc b/src/lib/server_common/logger.cc
deleted file mode 100644
index 0b9ab6e..0000000
--- a/src/lib/server_common/logger.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
-//
-// Permission to use, copy, modify, and/or distribute this software for any
-// purpose with or without fee is hereby granted, provided that the above
-// copyright notice and this permission notice appear in all copies.
-//
-// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-// AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-// PERFORMANCE OF THIS SOFTWARE.
-
-#include <server_common/logger.h>
-
-namespace isc {
-namespace server_common {
-
-isc::log::Logger logger("server_common");
-
-}
-}
diff --git a/src/lib/server_common/logger.h b/src/lib/server_common/logger.h
deleted file mode 100644
index cfca1f3..0000000
--- a/src/lib/server_common/logger.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
-//
-// Permission to use, copy, modify, and/or distribute this software for any
-// purpose with or without fee is hereby granted, provided that the above
-// copyright notice and this permission notice appear in all copies.
-//
-// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-// AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-// PERFORMANCE OF THIS SOFTWARE.
-
-#ifndef __SERVER_COMMON_LOGGER_H
-#define __SERVER_COMMON_LOGGER_H
-
-#include <log/macros.h>
-#include <server_common/server_common_messages.h>
-
-/// \file logger.h
-/// \brief Server Common library global logger
-///
-/// This holds the logger for the server common library. It is a private header
-/// and should not be included in any publicly used header, only in local
-/// cc files.
-
-namespace isc {
-namespace server_common {
-
-/// \brief The logger for this library
-extern isc::log::Logger logger;
-
-enum {
-    /// \brief Trace basic operations
-    DBG_TRACE_BASIC = 10,
-    /// \brief Print also values used
-    DBG_TRACE_VALUES = 40
-};
-
-}
-}
-
-#endif
diff --git a/src/lib/server_common/portconfig.cc b/src/lib/server_common/portconfig.cc
index 379a0a1..7b2b3dd 100644
--- a/src/lib/server_common/portconfig.cc
+++ b/src/lib/server_common/portconfig.cc
@@ -13,10 +13,10 @@
 // PERFORMANCE OF THIS SOFTWARE.
 
 #include <server_common/portconfig.h>
-#include <server_common/logger.h>
 
 #include <asiolink/io_address.h>
 #include <asiodns/dns_service.h>
+#include <log/dummylog.h>
 
 #include <boost/foreach.hpp>
 #include <boost/lexical_cast.hpp>
@@ -25,6 +25,7 @@ using namespace std;
 using namespace isc::data;
 using namespace isc::asiolink;
 using namespace isc::asiodns;
+using isc::log::dlog;
 
 namespace isc {
 namespace server_common {
@@ -42,8 +43,6 @@ parseAddresses(isc::data::ConstElementPtr addresses,
                 ConstElementPtr addr(addrPair->get("address"));
                 ConstElementPtr port(addrPair->get("port"));
                 if (!addr || ! port) {
-                    LOG_ERROR(logger, SRVCOMM_ADDRESS_MISSING).
-                        arg(addrPair->str());
                     isc_throw(BadValue, "Address must contain both the IP"
                         "address and port");
                 }
@@ -51,8 +50,6 @@ parseAddresses(isc::data::ConstElementPtr addresses,
                     IOAddress(addr->stringValue());
                     if (port->intValue() < 0 ||
                         port->intValue() > 0xffff) {
-                        LOG_ERROR(logger, SRVCOMM_PORT_RANGE).
-                            arg(port->intValue()).arg(addrPair->str());
                         isc_throw(BadValue, "Bad port value (" <<
                             port->intValue() << ")");
                     }
@@ -60,14 +57,11 @@ parseAddresses(isc::data::ConstElementPtr addresses,
                         port->intValue()));
                 }
                 catch (const TypeError &e) { // Better error message
-                    LOG_ERROR(logger, SRVCOMM_ADDRESS_TYPE).
-                        arg(addrPair->str());
                     isc_throw(TypeError,
                         "Address must be a string and port an integer");
                 }
             }
         } else if (addresses->getType() != Element::null) {
-            LOG_ERROR(logger, SRVCOMM_ADDRESSES_NOT_LIST).arg(elemName);
             isc_throw(TypeError, elemName + " config element must be a list");
         }
     }
@@ -92,10 +86,10 @@ installListenAddresses(const AddressList& newAddresses,
                        isc::asiodns::DNSService& service)
 {
     try {
-        LOG_DEBUG(logger, DBG_TRACE_BASIC, SRVCOMM_SET_LISTEN);
+        dlog("Setting listen addresses:");
         BOOST_FOREACH(const AddressPair& addr, newAddresses) {
-            LOG_DEBUG(logger, DBG_TRACE_VALUES, SRVCOMM_ADDRESS_VALUE).
-                arg(addr.first).arg(addr.second);
+            dlog(" " + addr.first + ":" +
+                        boost::lexical_cast<string>(addr.second));
         }
         setAddresses(service, newAddresses);
         addressStore = newAddresses;
@@ -114,12 +108,13 @@ installListenAddresses(const AddressList& newAddresses,
          * user will get error info, command control can be used to set new
          * address. So we just catch the exception without propagating outside
          */
-        LOG_ERROR(logger, SRVCOMM_ADDRESS_FAIL).arg(e.what());
+        dlog(string("Unable to set new address: ") + e.what(), true);
         try {
             setAddresses(service, addressStore);
         }
         catch (const exception& e2) {
-            LOG_FATAL(logger, SRVCOMM_ADDRESS_UNRECOVERABLE).arg(e2.what());
+            dlog("Unable to recover from error;", true);
+            dlog(string("Rollback failed with: ") + e2.what(), true);
         }
         //Anyway the new configure has problem, we need to notify configure
         //manager the new configure doesn't work
diff --git a/src/lib/server_common/server_common_messages.mes b/src/lib/server_common/server_common_messages.mes
deleted file mode 100644
index 5fbbb0b..0000000
--- a/src/lib/server_common/server_common_messages.mes
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright (C) 2011  Internet Systems Consortium, Inc. ("ISC")
-#
-# Permission to use, copy, modify, and/or distribute this software for any
-# purpose with or without fee is hereby granted, provided that the above
-# copyright notice and this permission notice appear in all copies.
-#
-# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
-# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-# AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
-# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
-# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-# PERFORMANCE OF THIS SOFTWARE.
-
-$NAMESPACE isc::server_common
-
-# \brief Messages for the server_common library
-
-% SRVCOMM_ADDRESSES_NOT_LIST the address and port specification is not a list in %1
-This points to an error in configuration. What was supposed to be a list of
-IP address - port pairs isn't a list at all but something else.
-
-% SRVCOMM_ADDRESS_FAIL failed to listen on addresses (%1)
-The server failed to bind to one of the address/port pair it should according
-to configuration, for reason listed in the message (usually because that pair
-is already used by other service or missing privileges). The server will try
-to recover and bind the address/port pairs it was listening to before (if any).
-
-% SRVCOMM_ADDRESS_MISSING address specification is missing "address" or "port" element in %1
-This points to an error in configuration. An address specification in the
-configuration is missing either an address or port and so cannot be used. The
-specification causing the error is given in the message.
-
-% SRVCOMM_ADDRESS_TYPE address specification type is invalid in %1
-This points to an error in configuration. An address specification in the
-configuration malformed. The specification causing the error is given in the
-message. A valid specification contains an address part (which must be a string
-and must represent a valid IPv4 or IPv6 address) and port (which must be an
-integer in the range valid for TCP/UDP ports on your system).
-
-% SRVCOMM_ADDRESS_UNRECOVERABLE failed to recover original addresses also (%2)
-The recovery of old addresses after SRVCOMM_ADDRESS_FAIL also failed for
-the reason listed.
-
-The condition indicates problems with the server and/or the system on
-which it is running.  The server will continue running to allow
-reconfiguration, but will not be listening on any address or port until
-an administrator does so.
-
-% SRVCOMM_ADDRESS_VALUE address to set: %1#%2
-Debug message. This lists one address and port value of the set of
-addresses we are going to listen on (eg. there will be one log message
-per pair). This appears only after SRVCOMM_SET_LISTEN, but might
-be hidden, as it has higher debug level.
-
-% SRVCOMM_KEYS_DEINIT deinitializing TSIG keyring
-Debug message indicating that the server is deinitializing the TSIG keyring.
-
-% SRVCOMM_KEYS_INIT initializing TSIG keyring
-Debug message indicating that the server is initializing the global TSIG
-keyring. This should be seen only at server start.
-
-% SRVCOMM_KEYS_UPDATE updating TSIG keyring
-Debug message indicating new keyring is being loaded from configuration (either
-on startup or as a result of configuration update).
-
-% SRVCOMM_PORT_RANGE port out of valid range (%1 in %2)
-This points to an error in configuration. The port in an address
-specification is outside the valid range of 0 to 65535.
-
-% SRVCOMM_SET_LISTEN setting addresses to listen to
-Debug message, noting that the server is about to start listening on a
-different set of IP addresses and ports than before.
diff --git a/src/lib/server_common/tests/Makefile.am b/src/lib/server_common/tests/Makefile.am
index 5bc6586..3c061c2 100644
--- a/src/lib/server_common/tests/Makefile.am
+++ b/src/lib/server_common/tests/Makefile.am
@@ -38,7 +38,6 @@ run_unittests_LDADD += $(top_builddir)/src/lib/server_common/libserver_common.la
 run_unittests_LDADD += $(top_builddir)/src/lib/asiolink/libasiolink.la
 run_unittests_LDADD += $(top_builddir)/src/lib/asiodns/libasiodns.la
 run_unittests_LDADD += $(top_builddir)/src/lib/cc/libcc.la
-run_unittests_LDADD += $(top_builddir)/src/lib/log/liblog.la
 run_unittests_LDADD += $(top_builddir)/src/lib/acl/libacl.la
 run_unittests_LDADD += $(top_builddir)/src/lib/util/libutil.la
 run_unittests_LDADD += $(top_builddir)/src/lib/dns/libdns++.la
diff --git a/src/lib/server_common/tests/run_unittests.cc b/src/lib/server_common/tests/run_unittests.cc
index 860cb77..b982ef3 100644
--- a/src/lib/server_common/tests/run_unittests.cc
+++ b/src/lib/server_common/tests/run_unittests.cc
@@ -16,7 +16,6 @@
 
 #include <gtest/gtest.h>
 #include <util/unittests/run_all.h>
-#include <log/logger_support.h>
 
 #include <dns/tests/unittest_util.h>
 
@@ -24,7 +23,5 @@ int
 main(int argc, char* argv[]) {
     ::testing::InitGoogleTest(&argc, argv);
 
-    isc::log::initLogger();
-
     return (isc::util::unittests::run_all());
 }




More information about the bind10-changes mailing list