From 2744337e54093011c3c4a9aae96b5d8faaf68a36 Mon Sep 17 00:00:00 2001 From: fujinhua Date: Thu, 9 May 2019 15:30:42 +0800 Subject: Fix log yml for ztevnfmdriver Change-Id: Ie9a0496c0e36b4a51637048a119b61a822cb8efc Issue-ID: VFC-1306 Signed-off-by: fujinhua --- zte/vmanager/driver/log.yml | 2 +- zte/vmanager/driver/settings.py | 2 +- 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) -- cgit 1.2.3-korg