[PMSH] Replace own logging implementation with pylog
Signed-off-by: ERIMROB <robertas.rimkus@est.tech>
Issue-ID: DCAEGEN2-2155
Change-Id: I670c4fff8029a73075b651c2afe6237c08cf907c
diff --git a/components/pm-subscription-handler/Dockerfile b/components/pm-subscription-handler/Dockerfile
index 8eed60b..270b97a 100644
--- a/components/pm-subscription-handler/Dockerfile
+++ b/components/pm-subscription-handler/Dockerfile
@@ -25,7 +25,8 @@
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 @@
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 && \