summaryrefslogtreecommitdiffstats
path: root/champ-service
diff options
context:
space:
mode:
authorShwetank Dave <shwetank.dave@amdocs.com>2018-08-14 09:22:50 -0400
committerShwetank Dave <shwetank.dave@amdocs.com>2018-08-14 09:29:07 -0400
commitfbcc5dd7f994d1a9664e07dfbf89d84e21f95d51 (patch)
tree1f2d4416a0637f3bfab2f60b1d60109183999a47 /champ-service
parentf271beebb31f9a0422fefbc84b77a075c13cac64 (diff)
Specifying a logging config for champ
Adding a logging.config property to the start.sh file so champ uses an external logging config instead of one bundled in. Issue-ID: AAI-1476 Change-Id: I1cb6003447a50a46682e9b0584a80880da376045 Signed-off-by: Shwetank Dave <shwetank.dave@amdocs.com>
Diffstat (limited to 'champ-service')
-rw-r--r--champ-service/bundleconfig-local/etc/logback.xml (renamed from champ-service/src/main/resources/logback.xml)0
-rw-r--r--champ-service/src/main/bin/start.sh1
2 files changed, 1 insertions, 0 deletions
diff --git a/champ-service/src/main/resources/logback.xml b/champ-service/bundleconfig-local/etc/logback.xml
index 497adb6..497adb6 100644
--- a/champ-service/src/main/resources/logback.xml
+++ b/champ-service/bundleconfig-local/etc/logback.xml
diff --git a/champ-service/src/main/bin/start.sh b/champ-service/src/main/bin/start.sh
index d82d438..7e6d587 100644
--- a/champ-service/src/main/bin/start.sh
+++ b/champ-service/src/main/bin/start.sh
@@ -56,6 +56,7 @@ fi
PROPS="-DAPP_HOME=$APP_HOME"
PROPS="$PROPS -DCONFIG_HOME=$CONFIG_HOME"
+PROPS="$PROPS -Dlogging.config=$APP_HOME/bundleconfig/etc/logback.xml"
PROPS="$PROPS -DKEY_STORE_PASSWORD=$KEY_STORE_PASSWORD"
JVM_MAX_HEAP=${MAX_HEAP:-1024}