diff options
author | Dan Timoney <dtimoney@att.com> | 2020-03-27 14:04:16 -0400 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-03-27 14:04:16 -0400 |
commit | 8ef1117acc1ed77127d06b03ab37b9413d114b7a (patch) | |
tree | 1fca0519a781f2789a73aac1fce857d6543e25fb /sliboot/src/main/resources/startSliboot.sh | |
parent | 80d0edc969784b39aa8643ca8f029a6c4eab8b17 (diff) |
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 <dtimoney@att.com>
Diffstat (limited to 'sliboot/src/main/resources/startSliboot.sh')
-rw-r--r-- | sliboot/src/main/resources/startSliboot.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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} |