X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_mon%2Fcore%2Fsettings.py;h=db78b4a21bc331778dbba991ea3da02a4c632fba;hb=5154baa6fd0a33b46ef5fedb0e954c96f82fae03;hp=e40fecdef93bbb83d2bc41f66312bb3cc762886a;hpb=75512477988ae5e287433c6c859c61de1bc82318;p=osm%2FMON.git diff --git a/osm_mon/core/settings.py b/osm_mon/core/settings.py index e40fecd..db78b4a 100644 --- a/osm_mon/core/settings.py +++ b/osm_mon/core/settings.py @@ -60,6 +60,8 @@ class Config(object): _configuration = [ CfgParam('BROKER_URI', "localhost:9092", six.text_type), + CfgParam('MONGO_URI', "mongo:27017", six.text_type), + CfgParam('DATABASE', "sqlite:///mon_sqlite.db", six.text_type), CfgParam('OS_NOTIFIER_URI', "http://localhost:8662", six.text_type), CfgParam('OS_DEFAULT_GRANULARITY', "300", six.text_type), ] @@ -79,5 +81,5 @@ class Config(object): val = str(os.environ[key]) setattr(self, key, val) except KeyError as exc: - log.warn("Failed to configure plugin: %s", exc) + log.debug("Environment variable not present: %s", exc) return