summaryrefslogtreecommitdiffstats
path: root/platform-logic/installer
diff options
context:
space:
mode:
authorSmokowski, Kevin (ks6305) <ks6305@us.att.com>2018-03-05 17:07:29 -0500
committerSmokowski, Kevin (ks6305) <ks6305@att.com>2018-03-07 15:59:35 +0000
commita65123b802823cb364f0103d9533bfd4a150521a (patch)
tree1c635a7980ce1bd51c0b98a9aacac257f5cf39c1 /platform-logic/installer
parentc62d00e30accbea9a60c66cceaaf52fa434057b2 (diff)
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) <ks6305@att.com>
Diffstat (limited to 'platform-logic/installer')
-rw-r--r--platform-logic/installer/src/main/scripts/install.sh2
-rw-r--r--platform-logic/installer/src/main/scripts/svclogic.sh2
2 files changed, 2 insertions, 2 deletions
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 $*