From: dyh Date: Wed, 24 Mar 2021 08:22:48 +0000 (+0800) Subject: Fix the bug when removing dependency on onaplogging in ztedriver X-Git-Tag: 1.4.0~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=a9f109bb8406ccd3a9daa2bb61ee1ea2d50e6249;p=vfc%2Fnfvo%2Fdriver%2Fvnfm%2Fsvnfm.git Fix the bug when removing dependency on onaplogging in ztedriver Change-Id: Ib07966dd5cbd8535f2b5ef6660a745b4a98aa0b4 Issue-ID: VFC-1813 Signed-off-by: dyh --- diff --git a/zte/vmanager/driver/settings.py b/zte/vmanager/driver/settings.py index a9e0d3d2..6d600fa6 100644 --- a/zte/vmanager/driver/settings.py +++ b/zte/vmanager/driver/settings.py @@ -153,7 +153,6 @@ else: # yaml configuration of logging LOGGING_FILE = os.path.join(BASE_DIR, 'driver/log.yml') - config.yamlConfig(filepath=LOGGING_FILE, watchDog=True) with open(file=LOGGING_FILE, mode='r', encoding="utf-8")as file: logging_yaml = yaml.load(stream=file, Loader=yaml.FullLoader) config.dictConfig(config=logging_yaml)