summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)