From a65123b802823cb364f0103d9533bfd4a150521a Mon Sep 17 00:00:00 2001 From: "Smokowski, Kevin (ks6305)" Date: Mon, 5 Mar 2018 17:07:29 -0500 Subject: enable fast load and timestamps update platform logic installer to have timestamps in the logs and use install method for fast loading Change-Id: Ib8ba5c2bc50e1f274dc7341db06a861af2d671e8 Issue-ID: CCSDK-202 Signed-off-by: Smokowski, Kevin (ks6305) --- platform-logic/installer/src/main/scripts/install.sh | 2 +- platform-logic/installer/src/main/scripts/svclogic.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'platform-logic/installer/src/main/scripts') diff --git a/platform-logic/installer/src/main/scripts/install.sh b/platform-logic/installer/src/main/scripts/install.sh index 36bf0702..167c0718 100644 --- a/platform-logic/installer/src/main/scripts/install.sh +++ b/platform-logic/installer/src/main/scripts/install.sh @@ -29,7 +29,7 @@ start=$(date +%s.%N) $BASEDIR/bin/svclogic.sh install $BASEDIR $BASEDIR/config/svclogic.properties end=$(date +%s.%N) -echo "Load and activate from $curdir finished at $(date)" +echo "Load and activate finished at $(date)" runtime=$(python -c "print(${end} - ${start})") echo "Load and activate took $runtime seconds" diff --git a/platform-logic/installer/src/main/scripts/svclogic.sh b/platform-logic/installer/src/main/scripts/svclogic.sh index 1d6dd2da..fc86dc3e 100644 --- a/platform-logic/installer/src/main/scripts/svclogic.sh +++ b/platform-logic/installer/src/main/scripts/svclogic.sh @@ -29,4 +29,4 @@ do CLASSPATH=$CLASSPATH:${jar} done -java -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER} org.onap.ccsdk.sli.core.sli.SvcLogicParser $* +java -Dorg.slf4j.simpleLogger.showDateTime=true -Dorg.slf4j.simpleLogger.dateTimeFormat="yyyy-MM-dd HH:mm:ss" -cp ${CLASSPATH}:${MYSQL_JDBC_DRIVER} org.onap.ccsdk.sli.core.sli.SvcLogicParser $* -- cgit 1.2.3-korg