aboutsummaryrefslogtreecommitdiffstats
path: root/utils/logger_utils.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-10-08 13:55:04 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-10-11 10:53:10 +0800
commite6f10a54eac152e6febfa9672b85a7cf9d5eeac0 (patch)
treec81c61024e8e6e6f2276865095fa170c1b95f0d4 /utils/logger_utils.py
parent62023f676d9801d53dfc1525bebb45f4e88f6fc4 (diff)
change log place
because /var/log cannot be accessed by unittest. so change the log place from /var/log to ~/opnfv/qtip/logs JIRA: QTIP-119 Change-Id: I14ba8317c94630fb8db46f532f7995c0c10595bd Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/logger_utils.py')
-rw-r--r--utils/logger_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/logger_utils.py b/utils/logger_utils.py
index 780696f4..5efc1ef5 100644
--- a/utils/logger_utils.py
+++ b/utils/logger_utils.py
@@ -59,7 +59,7 @@ class Logger(object):
class QtipLogger(Logger):
- file_path = '/var/log/qtip'
+ file_path = '~/qtip/logs'
def __init__(self, logger_name):
super(QtipLogger, self).__init__(logger_name)