aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-clamp-docker/src/main/docker/policy-participant.sh
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2022-06-14 11:37:47 +0100
committerliamfallon <liam.fallon@est.tech>2022-06-14 11:47:31 +0100
commit6171177411bcdca9a567aae8f84561ad593ab410 (patch)
tree5fb0ca41097122be5b84e5d63f243105a3e3469f /packages/policy-clamp-docker/src/main/docker/policy-participant.sh
parente7deff07e3b30ef564ced876bdfe0b68911965a8 (diff)
Enable Java logging on CLAMP ACM images
The ajva logging config file is not passed to the CLAMP ACM images, meaning that logging cannot be configured on the images. Issue-ID: POLICY-4238 Change-Id: If71900b57c09ef3a1d1bc6ddcc39425c9b3d4315 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'packages/policy-clamp-docker/src/main/docker/policy-participant.sh')
-rw-r--r--packages/policy-clamp-docker/src/main/docker/policy-participant.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/policy-clamp-docker/src/main/docker/policy-participant.sh b/packages/policy-clamp-docker/src/main/docker/policy-participant.sh
index 6495fa913..fe9cf69fe 100644
--- a/packages/policy-clamp-docker/src/main/docker/policy-participant.sh
+++ b/packages/policy-clamp-docker/src/main/docker/policy-participant.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env sh
#
# ============LICENSE_START=======================================================
-# Copyright (C) 2021 Nordix Foundation.
+# Copyright (C) 2021-2022 Nordix Foundation.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -50,6 +50,7 @@ if [ -f "${POLICY_HOME}/etc/mounted/logback.xml" ]; then
fi
$JAVA_HOME/bin/java \
+ -Dlogging.config="${POLICY_HOME}/etc/logback.xml" \
-Dserver.ssl.keyStore="${KEYSTORE}" \
-Dserver.ssl.keyStorePassword="${KEYSTORE_PASSWD}" \
-Djavax.net.ssl.trustStore="${TRUSTSTORE}" \