aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Mizyn <d.mizyn@samsung.com>2020-09-10 16:55:09 +0200
committerDominik Mizyn <d.mizyn@samsung.com>2020-09-10 16:55:09 +0200
commit0093a40fc69c8a148c4d4fdaebe574f33ac7e535 (patch)
treeb8cc0336d65166af92d8e0130c608ffc0301acc0
parent13bc206c6a07363857bb29947c59e82a608d441f (diff)
[AAI] Set logging.configguilin
This commit adds logging.config to app start properties. The goal is to get control on with conf files are loaded to configure logback logging framework. Issue-ID: OOM-2514 Signed-off-by: Dominik Mizyn <d.mizyn@partner.samsung.com> Change-Id: I0f71107bace8ff29ad2470cbfb600e1325063739
-rw-r--r--src/main/bin/start.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh
index 1dc4771..155cb55 100644
--- a/src/main/bin/start.sh
+++ b/src/main/bin/start.sh
@@ -42,6 +42,7 @@ PROPS="-DAPP_HOME=${APP_HOME}"
PROPS="${PROPS} -DCONFIG_HOME=${CONFIG_HOME}"
PROPS="${PROPS} -Dtosca.mappings.config=${CONFIG_HOME}/tosca-mappings.json"
PROPS="${PROPS} -DKEY_STORE_PASSWORD=${KEY_STORE_PASSWORD}"
+PROPS="${PROPS} -Dlogging.config=${APP_HOME}/config/logback.xml"
if [ ! -z "$REQUIRE_CLIENT_AUTH" ]; then
PROPS="$PROPS -Dserver.ssl.client-auth=${REQUIRE_CLIENT_AUTH}"
fi