From a306e7ac6e80f380c4c0ccb1a292bb90bceb1a13 Mon Sep 17 00:00:00 2001 From: "a.sreekumar" Date: Fri, 4 Mar 2022 11:24:33 +0000 Subject: Fix logback file not used by policy-api Change-Id: I9d67b5527694d121bf35cf0d0092fe112dd08d80 Issue-ID: POLICY-3983 Signed-off-by: a.sreekumar --- packages/policy-api-docker/src/main/docker/policy-api.sh | 4 ++-- 1 file 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}" -- cgit 1.2.3-korg