From 4d58dccfd58a01724a64415ff567abf359b48e1a Mon Sep 17 00:00:00 2001 From: David Ripton Date: Mon, 15 Oct 2012 13:42:32 -0400 Subject: Log CONF from ProcessLauncher.wait, like ServiceLauncher Fixes bug #1050380 In the unit tests, we need to call CONF so that the config-file option referenced by log_opt_values() is registered. We also need unregister the default_publisher_id option to workaround bug #107372. Change-Id: Icc63237ddf97aaa730c0484974ec05a3080f8f04 --- openstack/common/service.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'openstack') diff --git a/openstack/common/service.py b/openstack/common/service.py index 05060ca..002d478 100644 --- a/openstack/common/service.py +++ b/openstack/common/service.py @@ -275,6 +275,10 @@ class ProcessLauncher(object): def wait(self): """Loop waiting on children to die and respawning as necessary""" + + LOG.debug(_('Full set of CONF:')) + CONF.log_opt_values(LOG, std_logging.DEBUG) + while self.running: wrap = self._wait_child() if not wrap: -- cgit