aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2022-03-04 11:24:33 +0000
committera.sreekumar <ajith.sreekumar@bell.ca>2022-03-04 11:27:18 +0000
commita306e7ac6e80f380c4c0ccb1a292bb90bceb1a13 (patch)
treedbbfcbe23f2036b4bc69944e2482d93351b8bfc5
parentdeffbf64bd6f48fef477fa84d04ebb078bf00006 (diff)
Fix logback file not used by policy-api
Change-Id: I9d67b5527694d121bf35cf0d0092fe112dd08d80 Issue-ID: POLICY-3983 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
-rw-r--r--packages/policy-api-docker/src/main/docker/policy-api.sh4
1 files changed, 2 insertions, 2 deletions
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 5d22c03d..a170e301 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 @@ if [ -f "${POLICY_HOME}/etc/mounted/logback.xml" ]; then
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}"