Merge "Log configuration values as DEBUG, not INFO"
This commit is contained in:
commit
e1d5367734
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user