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>
RUN mkdir -p ${REPOS_DIR}
RUN mkdir -p /root/.ssh
-RUN mkdir -p /var/log/qtip
+RUN mkdir -p /home/opnfv/qtip/logs
RUN chmod 700 /root/.ssh
#Config ansible
class QtipLogger(Logger):
- file_path = '/var/log/qtip'
+ file_path = '~/qtip/logs'
def __init__(self, logger_name):
super(QtipLogger, self).__init__(logger_name)