Fix oslo_config and oslo_log configurations

* Ensure that configurations are done via the global `cfg` object
* Ensure that the logger is configure through the global object
* Upload a configuration sample file with DEFAULT section having
  the armada.conf and oslo_log namespace
This commit is contained in:
Omar Rivera
2017-08-05 01:02:36 -05:00
committed by Alexis Rivera DeLa Torre
parent 3f1daac6e8
commit 498cf6c98f
22 changed files with 233 additions and 231 deletions

View File

@@ -29,9 +29,6 @@ from oslo_log import log as logging
LOG = logging.getLogger(__name__)
CONF = cfg.CONF
DOMAIN = "armada"
logging.setup(CONF, DOMAIN)
class ChartBuilder(object):