diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2016-10-11 08:50:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-10-11 08:50:41 +0000 |
commit | c8a687ee896eeb7b1184f88191fecd7f76e26c16 (patch) | |
tree | 67d557081f513182395d04eda21c081467601f41 | |
parent | a955d2660a0f83487d62c7ac16ee49c7928b5879 (diff) | |
parent | e6f10a54eac152e6febfa9672b85a7cf9d5eeac0 (diff) |
Merge "change log place"
-rw-r--r-- | docker/Dockerfile | 2 | ||||
-rw-r--r-- | utils/logger_utils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 7c4b18fb..2b93c260 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -44,7 +44,7 @@ RUN apt-get install ansible --force-yes -y 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 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) |