def prepare_service(argv=None): if argv is None: argv = sys.argv cfg.CONF(argv[1:], project='app', validate_default_values=True) CONF=cfg.CONF DOMAIN = "app" logging.setup(CONF, DOMAIN)
def prepare_service(argv=None): CONF = cfg.CONF(sys.argv[1:], project='ceilometer', validate_default_values=True) DOMAIN = "ceilometer" logging.setup(CONF, DOMAIN)