summaryrefslogtreecommitdiffstats
path: root/zte/vmanager
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2019-05-09 15:30:42 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2019-05-09 16:01:49 +0800
commit2744337e54093011c3c4a9aae96b5d8faaf68a36 (patch)
treec680f48a847cfc56f9c94ba096145e8a1aa6ae02 /zte/vmanager
parent3987e36f8403607e62aa38a49e33cee41022165c (diff)
Fix log yml for ztevnfmdriver
Change-Id: Ie9a0496c0e36b4a51637048a119b61a822cb8efc Issue-ID: VFC-1306 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'zte/vmanager')
-rw-r--r--zte/vmanager/driver/log.yml2
-rw-r--r--zte/vmanager/driver/settings.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/zte/vmanager/driver/log.yml b/zte/vmanager/driver/log.yml
index a0bf170f..a3112c8a 100644
--- a/zte/vmanager/driver/log.yml
+++ b/zte/vmanager/driver/log.yml
@@ -2,7 +2,7 @@ version: 1
disable_existing_loggers: False
loggers:
- ztevnfmdriver:
+ driver:
handlers: [ztevnfmdriverlocal_handler, ztevnfmdriver_handler]
level: "DEBUG"
propagate: False
diff --git a/zte/vmanager/driver/settings.py b/zte/vmanager/driver/settings.py
index c2f6c971..ddc2a86a 100644
--- a/zte/vmanager/driver/settings.py
+++ b/zte/vmanager/driver/settings.py
@@ -148,7 +148,7 @@ if platform.system() == 'Windows' or 'test' in sys.argv:
}}
else:
LOGGING_CONFIG = None
-# yaml configuration of logging
+ # yaml configuration of logging
LOGGING_FILE = os.path.join(BASE_DIR, 'driver/log.yml')
config.yamlConfig(filepath=LOGGING_FILE, watchDog=True)