]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3074] Add logging
authorMukund Sivaraman <muks@isc.org>
Wed, 9 Oct 2013 06:01:59 +0000 (11:31 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 9 Oct 2013 06:01:59 +0000 (11:31 +0530)
src/bin/bind10/init.py.in
src/bin/bind10/init_messages.mes

index df69a34113d809da4698c86af0a660ebc24f1c72..c16fca6548af02c54af0e9d1aecc2053f5e1f503 100755 (executable)
@@ -337,6 +337,7 @@ class Init:
                 self.__propagate_component_config(new_config['components'])
             return isc.config.ccsession.create_answer(0)
         except Exception as e:
+            logger.error(BIND10_RECONFIGURE_ERROR, e)
             return isc.config.ccsession.create_answer(1, str(e))
 
     def get_processes(self):
index 267790d6dd072c4f644b50c422eb855a356cd9db..0719f6f261471ea858650196a7c26b65ea502191 100644 (file)
@@ -325,3 +325,7 @@ the configuration manager to start up.  The total length of time Init
 will wait for the configuration manager before reporting an error is
 set with the command line --wait switch, which has a default value of
 ten seconds.
+
+% BIND10_RECONFIGURE_ERROR Error applying new config: %1
+A new configuration was received, but there was an error doing the
+re-configuration.