diff options
author | ERIMROB <robertas.rimkus@est.tech> | 2020-05-12 12:56:56 +0100 |
---|---|---|
committer | ERIMROB <robertas.rimkus@est.tech> | 2020-06-05 10:11:06 +0100 |
commit | 2760519436f78975f16f26c412e842e34b28d624 (patch) | |
tree | 3fb616398002bd4525c10ff8b510bbf5ebadc26f /components/pm-subscription-handler/Dockerfile | |
parent | 5ed9b7d3cad56c6438bca305b6d2931bd320352b (diff) |
[PMSH] Replace own logging implementation with pylog
Signed-off-by: ERIMROB <robertas.rimkus@est.tech>
Issue-ID: DCAEGEN2-2155
Change-Id: I670c4fff8029a73075b651c2afe6237c08cf907c
Diffstat (limited to 'components/pm-subscription-handler/Dockerfile')
-rw-r--r-- | components/pm-subscription-handler/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/pm-subscription-handler/Dockerfile b/components/pm-subscription-handler/Dockerfile index 8eed60b3..270b97a6 100644 --- a/components/pm-subscription-handler/Dockerfile +++ b/components/pm-subscription-handler/Dockerfile @@ -25,7 +25,8 @@ ENV PMSHUSER=pmsh \ PATH=/usr/local/lib/python3.7/bin:$PATH:$APPDIR/bin \ PYTHONPATH=/usr/local/lib/python3.7/site-packages:./mod:./:$PYTHONPATH:$APPDIR/bin \ REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt \ - LOGS_PATH="/var/log/ONAP/dcaegen2/services/pmsh" + LOGS_PATH="/var/log/ONAP/dcaegen2/services/pmsh" \ + LOGGER_CONFIG=/opt/app/pmsh/log_config.yaml WORKDIR $APPDIR @@ -38,6 +39,7 @@ RUN addgroup --system $PMSHUSER && adduser --ingroup $PMSHUSER --system $PMSHUSE COPY setup.py ./ COPY requirements.txt ./ COPY ./pmsh_service ./bin/ +COPY log_config.yaml /opt/app/pmsh/ # run the pip install RUN pip install --upgrade pip && \ |