From 8ef1117acc1ed77127d06b03ab37b9413d114b7a Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Fri, 27 Mar 2020 14:04:16 -0400 Subject: Fix log location Update sliboot docker to log to standard ONAP directory (/var/log/onap/{project}) Change-Id: I932d48ee658ebd4236ea67eab1f6769e6d50013d Issue-ID: CCSDK-2186 Signed-off-by: Dan Timoney --- sliboot/src/main/resources/startSliboot.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sliboot') diff --git a/sliboot/src/main/resources/startSliboot.sh b/sliboot/src/main/resources/startSliboot.sh index 44cef115..db1dfaa0 100644 --- a/sliboot/src/main/resources/startSliboot.sh +++ b/sliboot/src/main/resources/startSliboot.sh @@ -24,6 +24,7 @@ export CCSDK_HOME=${CCSDK_HOME:-/opt/onap/ccsdk} export SLIBOOT_JAR=${SLIBOOT_JAR:-${ccsdk.sliboot.jar}} export SVCLOGIC_DIR=${SVCLOGIC_DIR:-opt/onap/ccsdk/svclogic/graphs} +export LOG_PATH=${LOG_PATH:-/var/log/onap/ccsdk} # # Wait for database @@ -51,5 +52,5 @@ END mysql -h ${MYSQL_DB_HOST} -u ${MYSQL_DB_USER} -p${MYSQL_DB_PASSWD} ${MYSQL_DB_DATABASE} < ${CCSDK_HOME}/config/schema.sql cd $CCSDK_HOME -java -DserviceLogicDirectory=${SVCLOGIC_DIR} -jar ${CCSDK_HOME}/lib/${SLIBOOT_JAR} +java -DserviceLogicDirectory=${SVCLOGIC_DIR} -DLOG_PATH=${LOG_PATH} -jar ${CCSDK_HOME}/lib/${SLIBOOT_JAR} -- cgit 1.2.3-korg