diff options
author | dongwenjuan <dong.wenjuan@zte.com.cn> | 2017-07-17 08:54:22 +0800 |
---|---|---|
committer | dongwenjuan <dong.wenjuan@zte.com.cn> | 2017-08-01 11:13:58 +0800 |
commit | 9549a92ad62fbbad00e355b707809e6409b9e085 (patch) | |
tree | 9b7052325ca7fd067648ef9879d6cab46fa2f2c9 /tests/logger.py | |
parent | 162c3ae179f69bd326325b135c3831ae12843e49 (diff) |
refactor local installer
JIRA: DOCTOR-100
Change-Id: I1e2c53f7a716156e35386d42c0df32a228a78fab
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'tests/logger.py')
-rw-r--r-- | tests/logger.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/logger.py b/tests/logger.py index 72043ab3..021389d9 100644 --- a/tests/logger.py +++ b/tests/logger.py @@ -21,6 +21,7 @@ class Logger(object): CI_DEBUG = os.getenv('CI_DEBUG') + logging.basicConfig(filemode='w') self.logger = logging.getLogger(logger_name) self.logger.propagate = 0 self.logger.setLevel(logging.DEBUG) @@ -41,7 +42,5 @@ class Logger(object): file_handler.setLevel(logging.DEBUG) self.logger.addHandler(file_handler) - def getLogger(self): return self.logger - |