Merge "Replace logging constants with oslo.log"

This commit is contained in:
Jenkins 2016-04-28 13:13:07 +00:00 committed by Gerrit Code Review
commit d5f675d635
2 changed files with 2 additions and 4 deletions

View File

@ -16,7 +16,6 @@
Use this file for deploying the API service under Apache2 mod_wsgi.
"""
import logging
import sys
from oslo_config import cfg
@ -35,6 +34,6 @@ service.prepare_service(sys.argv)
LOG = log.getLogger(__name__)
LOG.debug("Configuration:")
CONF.log_opt_values(LOG, logging.DEBUG)
CONF.log_opt_values(LOG, log.DEBUG)
application = app.VersionSelectorApplication()

View File

@ -19,7 +19,6 @@
The Ironic Management Service
"""
import logging
import sys
from oslo_config import cfg
@ -41,7 +40,7 @@ def main():
LOG = log.getLogger(__name__)
LOG.debug("Configuration:")
CONF.log_opt_values(LOG, logging.DEBUG)
CONF.log_opt_values(LOG, log.DEBUG)
launcher = service.launch(CONF, mgr)
launcher.wait()