Merge "Log configuration values as DEBUG, not INFO"

This commit is contained in:
Jenkins 2015-08-05 10:23:09 +00:00 committed by Gerrit Code Review
commit e1d5367734
2 changed files with 4 additions and 5 deletions

View File

@ -53,8 +53,8 @@ def main():
LOG = log.getLogger(__name__)
LOG.info(_LI("Serving on http://%(host)s:%(port)s"),
{'host': host, 'port': port})
LOG.info(_LI("Configuration:"))
CONF.log_opt_values(LOG, logging.INFO)
LOG.debug("Configuration:")
CONF.log_opt_values(LOG, logging.DEBUG)
try:
wsgi.serve_forever()

View File

@ -26,7 +26,6 @@ from oslo_config import cfg
from oslo_log import log
from oslo_service import service
from ironic.common.i18n import _LI
from ironic.common import service as ironic_service
CONF = cfg.CONF
@ -41,8 +40,8 @@ def main():
'ConductorManager')
LOG = log.getLogger(__name__)
LOG.info(_LI("Configuration:"))
CONF.log_opt_values(LOG, logging.INFO)
LOG.debug("Configuration:")
CONF.log_opt_values(LOG, logging.DEBUG)
launcher = service.launch(CONF, mgr)
launcher.wait()