Fix logback file not used by policy-api
Change-Id: I9d67b5527694d121bf35cf0d0092fe112dd08d80
Issue-ID: POLICY-3983
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
diff --git a/packages/policy-api-docker/src/main/docker/policy-api.sh b/packages/policy-api-docker/src/main/docker/policy-api.sh
index 5d22c03..a170e30 100644
--- a/packages/policy-api-docker/src/main/docker/policy-api.sh
+++ b/packages/policy-api-docker/src/main/docker/policy-api.sh
@@ -55,10 +55,10 @@
fi
$JAVA_HOME/bin/java \
- -Dlogback.configurationFile="${POLICY_HOME}/etc/logback.xml" \
+ -Dlogging.config="${POLICY_HOME}/etc/logback.xml" \
-Dserver.ssl.key-store="${KEYSTORE}" \
-Dserver.ssl.key-store-password="${KEYSTORE_PASSWD}" \
-Djavax.net.ssl.trustStore="${TRUSTSTORE}" \
-Djavax.net.ssl.trustStorePassword="${TRUSTSTORE_PASSWD}" \
-jar /app/api.jar \
- --spring.config.location="${CONFIG_FILE}"
\ No newline at end of file
+ --spring.config.location="${CONFIG_FILE}"