Fix log yml for ztevnfmdriver 23/87323/2
authorfujinhua <fu.jinhua@zte.com.cn>
Thu, 9 May 2019 07:30:42 +0000 (15:30 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Thu, 9 May 2019 08:01:49 +0000 (16:01 +0800)
Change-Id: Ie9a0496c0e36b4a51637048a119b61a822cb8efc
Issue-ID: VFC-1306
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
zte/vmanager/driver/log.yml
zte/vmanager/driver/settings.py

index a0bf170..a3112c8 100644 (file)
@@ -2,7 +2,7 @@ version: 1
 disable_existing_loggers: False
 
 loggers:
-    ztevnfmdriver:
+    driver:
         handlers: [ztevnfmdriverlocal_handler, ztevnfmdriver_handler]
         level: "DEBUG"
         propagate: False
index c2f6c97..ddc2a86 100644 (file)
@@ -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)