From 80ff14860e3b8a7a2c29272c2c10c1e830c2141d Mon Sep 17 00:00:00 2001 From: efiacor Date: Tue, 9 Jun 2020 19:20:22 +0100 Subject: [PMSH] Improve CBS data handling # AppConfog object fetch priodically # AAI client to only fetch AAI data Signed-off-by: efiacor Change-Id: I78315f141c3bb7e8b0d9efa818d294415fa79918 Issue-ID: DCAEGEN2-2146 --- components/pm-subscription-handler/pmsh_service/mod/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'components/pm-subscription-handler/pmsh_service/mod/__init__.py') diff --git a/components/pm-subscription-handler/pmsh_service/mod/__init__.py b/components/pm-subscription-handler/pmsh_service/mod/__init__.py index 316687c0..efc61aae 100644 --- a/components/pm-subscription-handler/pmsh_service/mod/__init__.py +++ b/components/pm-subscription-handler/pmsh_service/mod/__init__.py @@ -59,7 +59,7 @@ def create_app(): def create_logger(): config_file_path = os.getenv('LOGGER_CONFIG') - update_config(config_file_path) + update_logging_config(config_file_path) monkey.patch_loggingYaml() logging.config.yamlConfig(filepath=config_file_path, watchDog=os.getenv('DYNAMIC_LOGGER_CONFIG', True)) @@ -73,7 +73,7 @@ def create_logger(): logging.setLogRecordFactory(augment_record) -def update_config(config_file_path): +def update_logging_config(config_file_path): config_yaml = YAML() config_file = pathlib.Path(config_file_path) data = config_yaml.load(config_file) -- cgit 1.2.3-korg